public RulesBundle(ContextModel context, MainRule rule) { UserResourceRule = new ResourceRule <Olma.User>(context.UserId, rule) .IgnoreQueryFilter() .UseEagleLoad(t => t .Include(p => p.Person) .Include(p => p.UserSettings) .Include(p => p.Permissions) .Include(p => p.Submissions) .Include(p => p.UserGroups) ); Password = new RandomPasswordRule(); }
public ContextModel(UserResetPasswordRequest request, MainRule rule) : base(request, rule) { }