Метод | Описание | |
---|---|---|
Grant ( ) : void |
Grants specified permissions temporarily (or makes it look like)
|
|
GrantAll ( ) : void |
Grants all permissions temporarily (or makes it look like)
|
|
HasPermission ( string permission ) : bool | ||
TransientGrantingPermissionService ( IPermissionService permissionService ) : Serenity.Abstractions | ||
UndoGrant ( ) : void |
Undoes last grant or grant all operation
|
Метод | Описание | |
---|---|---|
GetGrantingStack ( bool createIfNull ) : Stack |
public HasPermission ( string permission ) : bool | ||
permission | string | |
Результат | bool |
public TransientGrantingPermissionService ( IPermissionService permissionService ) : Serenity.Abstractions | ||
permissionService | IPermissionService | |
Результат | Serenity.Abstractions |