files-repository/files-repository.guard.ts
Methods |
constructor(permissions: Permissions)
|
||||||
|
Parameters :
|
| canActivate |
canActivate()
|
|
Checks if files repository should be active, i.e. whether the current tenant can read or admin files in repository.
Returns :
boolean
True, if the feature should be active. |