Property | Type | Description | |
---|---|---|---|
CheckPermissionsForAllowedAccess | bool | ||
DeletePermission | void |
Method | Description | |
---|---|---|
AuthorizationService ( IPermissionRepository permissionRepository ) : System.Collections.Generic | ||
IsAllowed ( IUser user, string action ) : bool | ||
RemovePermission ( IRole role, IAction action ) : void | ||
RemovePermission ( IUser user, IAction action ) : void | ||
SetPermission ( IRole role, IAction action, bool isAllowed ) : |
||
SetPermission ( IUser user, IAction action, bool isAllowed ) : |
Method | Description | |
---|---|---|
CheckPermissionsForAllowedAccess ( IEnumerable |
||
DeletePermission ( |
public AuthorizationService ( IPermissionRepository permissionRepository ) : System.Collections.Generic | ||
permissionRepository | IPermissionRepository | |
return | System.Collections.Generic |
public IsAllowed ( IUser user, string action ) : bool | ||
user | IUser | |
action | string | |
return | bool |
public RemovePermission ( IRole role, IAction action ) : void | ||
role | IRole | |
action | IAction | |
return | void |
public RemovePermission ( IUser user, IAction action ) : void | ||
user | IUser | |
action | IAction | |
return | void |
public SetPermission ( IRole role, IAction action, bool isAllowed ) : |
||
role | IRole | |
action | IAction | |
isAllowed | bool | |
return |
public SetPermission ( IUser user, IAction action, bool isAllowed ) : |
||
user | IUser | |
action | IAction | |
isAllowed | bool | |
return |