public Boolean Authorizes(RequestedActionOnSubject requestedActionOnSubject) { return(Authorizes(requestedActionOnSubject.Action, requestedActionOnSubject.Subject)); }
public bool Allows(RequestedActionOnSubject requestedActionOnSubject) { return(permissions.Any(p => p.Authorizes(requestedActionOnSubject))); }