public static MustRequirement With <TEntity, T>(this AbstractAuthorizerConfiguration <TEntity> configuration, Expression <Func <TEntity, T> > identifier)
        {
            var requirement = new MustRequirement().WithIdentifier(identifier);

            configuration.AddRequirement(requirement);
            return(requirement);
        }
 public static void Owner(this MustRequirement configuration)
 => configuration.WithMustType(MustType.Owner);
 public static void NotEqualTo(this MustRequirement requirement, object constraint)
 => requirement.WithMustType(MustType.NotEqual).WithConstraint(constraint);