프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CheckPermissionsForAllowedAccess | bool | ||
DeletePermission | void |
메소드 | 설명 | |
---|---|---|
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 ) : |
메소드 | 설명 | |
---|---|---|
CheckPermissionsForAllowedAccess ( IEnumerable |
||
DeletePermission ( |
public AuthorizationService ( IPermissionRepository permissionRepository ) : System.Collections.Generic | ||
permissionRepository | IPermissionRepository | |
리턴 | System.Collections.Generic |
public IsAllowed ( IUser user, string action ) : bool | ||
user | IUser | |
action | string | |
리턴 | bool |
public RemovePermission ( IRole role, IAction action ) : void | ||
role | IRole | |
action | IAction | |
리턴 | void |
public RemovePermission ( IUser user, IAction action ) : void | ||
user | IUser | |
action | IAction | |
리턴 | void |
public SetPermission ( IRole role, IAction action, bool isAllowed ) : |
||
role | IRole | |
action | IAction | |
isAllowed | bool | |
리턴 |
public SetPermission ( IUser user, IAction action, bool isAllowed ) : |
||
user | IUser | |
action | IAction | |
isAllowed | bool | |
리턴 |