public SetupHandler(IRepository <SecurityGroup> securityGroupRepository, PermissionableEntitySecurityProvider securityProvider, ComponentService componentService, IEntityRepository <Group> groupRepository, UserRepository userRepository, IEntityRepository <Role> roleRepository)
 {
     this.SecurityGroupRepository = securityGroupRepository;
     this.ComponentService        = componentService;
     this.GroupRepository         = groupRepository;
     this.RoleRepository          = roleRepository;
     this.UserRepository          = userRepository;
     this.SecurityProvider        = securityProvider;
 }
Example #2
0
 public ViewModuleProvider(EntityPermissionsRepository entityPermissionsRepository, PermissionableEntitySecurityProvider permissionableEntitySecurityProvider)
 {
     this.PermissionableEntitySecurityProvider = permissionableEntitySecurityProvider;
     this.EntityPermissionsRepository          = entityPermissionsRepository;
 }