### Hierarchy

- Permission

## Index

### Constructors

- constructor

### Properties

- ability
- can
- canArray
- cannot
- cannotArray
- conditions
- displayDefault
- el
- isolate
- permissions
- roles
- rules
- rulesJson
- subject

### Methods

- componentDidLoad
- componentDidUnload
- componentDidUpdate
- getRules
- onPermissionsRulesChange
- parsePermissions
- render
- setPermissionService
- setRules
- update

## Constructors

### constructor

- new Permission(): Permission

- - Defined in permission/permission.tsx:27

  #### Returns Permission

## Properties

### ability

ability: Ability

- Defined in permission/permission.tsx:11

### can

can: string = "["read"]"

- Defined in permission/permission.tsx:22

### canArray

canArray: any[]

- Defined in permission/permission.tsx:12

### cannot

cannot: string

- Defined in permission/permission.tsx:23

### cannotArray

cannotArray: any[]

- Defined in permission/permission.tsx:13

### conditions

conditions: string

- Defined in permission/permission.tsx:25

### displayDefault

displayDefault: string

- Defined in permission/permission.tsx:14

### el

el: HTMLElement

- Defined in permission/permission.tsx:18

### isolate

isolate: boolean

- Defined in permission/permission.tsx:26

### permissions

permissions: PermissionsService

- Defined in permission/permission.tsx:15

### roles

roles: string[] = ['ANONYMOUS']

- Defined in permission/permission.tsx:16

### rules

rules: any[] = []

- Defined in permission/permission.tsx:20

### rulesJson

rulesJson: string

- Defined in permission/permission.tsx:27

### subject

subject: string = "all"

- Defined in permission/permission.tsx:24

## Methods

### componentDidLoad

- componentDidLoad(): void

- - Defined in permission/permission.tsx:43

  #### Returns void

### componentDidUnload

- componentDidUnload(): void

- - Defined in permission/permission.tsx:52

  #### Returns void

### componentDidUpdate

- componentDidUpdate(): void

- - Defined in permission/permission.tsx:48

  #### Returns void

### getRules

- getRules(): Promise<any[]>

- - Defined in permission/permission.tsx:65

  #### Returns Promise<any[]>

### onPermissionsRulesChange

- onPermissionsRulesChange(): void

- - Defined in permission/permission.tsx:104

  #### Returns void

### parsePermissions

- parsePermissions(): void

- - Defined in permission/permission.tsx:83

  #### Returns void

### render

- render(): any

- - Defined in permission/permission.tsx:110

  #### Returns any

### setPermissionService

- setPermissionService(instance: any): Promise<void>

- - Defined in permission/permission.tsx:59

  #### Parameters

  - ##### instance: any

  #### Returns Promise<void>

### setRules

- setRules(rules: any[], replace?: boolean): Promise<void>

- - Defined in permission/permission.tsx:70

  #### Parameters

  - ##### rules: any[]

  - ##### Default value replace: boolean = true

  #### Returns Promise<void>

### update

- update(): Promise<void>

- - Defined in permission/permission.tsx:79

  #### Returns Promise<void>