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