UNPKG
@minddoc/accesscontrol
Version:
latest (0.1.7)
0.1.7
0.1.6
0.1.5
0.1.4
0.1.2
Role and Attribute based Access Control
github.com/minddocdev/accesscontrol
minddocdev/accesscontrol
@minddoc/accesscontrol
/
lib
/
src
/
core
/
Permission.d.ts
11 lines
(10 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
IQueryInfo
}
from
'../core'
;
declare
class
Permission
{
private
_;
constructor
(
grants
:
any
,
query
:
IQueryInfo
);
get
roles
():
string
[];
get
resource
():
string
;
get
attributes
():
string
[];
get
granted
():
boolean
; }
export
{
Permission
};