public AuthorizationCheck(string authUserId, IList <string> authGroupIds, CompositePermissionCheck permissionCheck, bool isRevokeAuthorizationCheckEnabled) { this.authUserId = authUserId; this.authGroupIds = authGroupIds; this.permissionChecks = permissionCheck; this.isRevokeAuthorizationCheckEnabled = isRevokeAuthorizationCheckEnabled; }
public virtual CompositePermissionCheck build() { validate(); CompositePermissionCheck permissionCheck = new CompositePermissionCheck(disjunctive_Renamed); permissionCheck.AtomicChecks = atomicChecks; permissionCheck.CompositeChecks = compositeChecks; return(permissionCheck); }
public virtual void addCompositeCheck(CompositePermissionCheck subCheck) { this.compositeChecks.Add(subCheck); }