8 private readonly
string privilege;
16 this.privilege = Privilege;
Authorization based on a single privilege.
SinglePrivilege(string Privilege)
Authorization based on a single privilege.
bool IsAuthorized(T Resource, IHasPrivileges User)
Checks if an user or object is authorized to perform an action.
Basic authorization interface for objects of type T .
Interface for objects that have privileges.
bool HasPrivilege(string Privilege)
If the object has a given privilege.