Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
GetGrantingStack ( bool createIfNull ) : Stack |
public HasPermission ( string permission ) : bool | ||
permission | string | |
return | bool |
public TransientGrantingPermissionService ( IPermissionService permissionService ) : Serenity.Abstractions | ||
permissionService | IPermissionService | |
return | Serenity.Abstractions |