Class Permission<Sub, Act, Obj>
Type Parameters
- Sub = string
- Act = string
- Obj = string
Properties
Readonly
granted
granted: boolean
Methods
field
- field<Data>(data, cKey?): Promise<Data>
Returns Promise<Data>
filter
- filter<Data>(data, cKey?): Promise<Data>
Returns Promise<Data>
has
- has(cKey): boolean
Returns boolean
location
- location(ip, cKey?): boolean
Returns boolean
subjects
- subjects(cKey?): Sub[]
Returns Sub[]
time
- time(options?, cKey?): boolean
Returns boolean