public EffectiveAuthorization(string tenantId, ExternalId user, Permission permission, ExternalId target = null)
 {
     TenantId   = tenantId;
     User       = user;
     Permission = permission;
     Target     = target;
 }
예제 #2
0
 protected bool Equals(ExternalId other)
 {
     return(string.Equals(Context, other.Context) && string.Equals(Id, other.Id));
 }