public DefaultMemberGroupPermissionsInitializer()
        {
            var dependencyResolver = DependencyResolver.Current;

            _intranetMemberGroupService = dependencyResolver.GetService <IIntranetMemberGroupService>();
            _permissionsService         = dependencyResolver.GetService <IPermissionsService>();
        }
Exemple #2
0
 public SetupDefaultMemberGroupsPermissionsStep(
     IIntranetMemberGroupService intranetMemberGroupService,
     IPermissionsService permissionsService)
 {
     _intranetMemberGroupService = intranetMemberGroupService;
     _permissionsService         = permissionsService;
 }
Exemple #3
0
 public MemberGroupEventService(
     IPermissionsService permissionsService,
     IIntranetMemberGroupService intranetMemberGroupService)
 {
     _permissionsService         = permissionsService;
     _intranetMemberGroupService = intranetMemberGroupService;
 }
 public MemberApiController(
     ICacheableIntranetMemberService cacheableIntranetMemberService,
     IIntranetMemberGroupService memberGroupService,
     IMemberService memberService)
 {
     _cacheableIntranetMemberService = cacheableIntranetMemberService;
     _memberGroupService             = memberGroupService;
     _memberService = memberService;
 }
 public MemberEventService(
     ICacheableIntranetMemberService cacheableIntranetMemberService,
     IMemberService memberService,
     IIntranetMemberGroupService intranetMemberGroupService
     )
 {
     _cacheableIntranetMemberService = cacheableIntranetMemberService;
     _memberService = memberService;
     _intranetMemberGroupService = intranetMemberGroupService;
 }
 public IntranetMemberService(
     IMediaService mediaService,
     IMemberService memberService,
     UmbracoContext umbracoContext,
     UmbracoHelper umbracoHelper,
     ICacheService cacheService,
     ISqlRepository <GroupMember> groupMemberRepository,
     IIntranetUserService <IIntranetUser> intranetUserService,
     IIntranetMemberGroupService intranetMemberGroupService,
     ICommandPublisher commandPublisher
     )
     : base(mediaService, memberService, umbracoContext, umbracoHelper, cacheService, intranetUserService, intranetMemberGroupService)
 {
     _groupMemberRepository = groupMemberRepository;
     _commandPublisher      = commandPublisher;
 }
 protected IntranetMemberServiceBase(
     IMediaService mediaService,
     IMemberService memberService,
     UmbracoContext umbracoContext,
     UmbracoHelper umbracoHelper,
     ICacheService cacheService,
     IIntranetUserService <IIntranetUser> intranetUserService,
     IIntranetMemberGroupService intranetMemberGroupService)
 {
     _mediaService               = mediaService;
     _memberService              = memberService;
     _umbracoContext             = umbracoContext;
     _umbracoHelper              = umbracoHelper;
     _cacheService               = cacheService;
     _intranetUserService        = intranetUserService;
     _intranetMemberGroupService = intranetMemberGroupService;
 }
Exemple #8
0
 public IntranetMemberService(
     IMediaService mediaService,
     IMemberService memberService,
     UmbracoContext umbracoContext,
     UmbracoHelper umbracoHelper,
     ICacheService cacheService,
     ISqlRepository <GroupMember> groupMemberRepository,
     IElasticUserIndex elasticUserIndex,
     IIntranetUserContentProvider intranetUserContentProvider,
     IUserTagService userTagService,
     IIntranetUserService <IIntranetUser> intranetUserService,
     IIntranetMemberGroupService intranetMemberGroupService
     )
     : base(mediaService, memberService, umbracoContext, umbracoHelper, cacheService, intranetUserService, intranetMemberGroupService)
 {
     _groupMemberRepository       = groupMemberRepository;
     _elasticUserIndex            = elasticUserIndex;
     _intranetUserContentProvider = intranetUserContentProvider;
     _userTagService = userTagService;
 }
Exemple #9
0
 public PermissionsController(
     IMemberGroupService memberGroupService,
     IPermissionResourceTypeProvider resourceTypeProvider,
     IPermissionActionTypeProvider actionTypeProvider,
     IIntranetMemberService <IntranetMember> intranetMemberService,
     IIntranetMemberGroupProvider intranetMemberGroupProvider,
     IPermissionsService permissionsService,
     IIntranetMemberGroupService intranetMemberGroupService,
     IApplicationSettings applicationSettings,
     ILogger logger)
 {
     _memberGroupService          = memberGroupService;
     _resourceTypeProvider        = resourceTypeProvider;
     _actionTypeProvider          = actionTypeProvider;
     _intranetMemberService       = intranetMemberService;
     _intranetMemberGroupProvider = intranetMemberGroupProvider;
     _permissionsService          = permissionsService;
     _intranetMemberGroupService  = intranetMemberGroupService;
     _applicationSettings         = applicationSettings;
     _logger = logger;
 }
 public IntranetMemberGroupProvider(IIntranetMemberGroupService groupService)
 {
     _groupService        = groupService;
     IntTypeDictionary    = All.ToDictionary(group => group.Id);
     StringTypeDictionary = All.ToDictionary(group => group.Name);
 }
 public IntranetMemberGroupProvider(IIntranetMemberGroupService groupService)
 {
     _groupService = groupService;
 }
Exemple #12
0
 public SetupDefaultMemberGroupsPermissionsStep()
 {
     _logger = Current.Factory.EnsureScope(f => f.GetInstance <ILogger>());
     _intranetMemberGroupService = Current.Factory.EnsureScope(s => s.GetInstance <IIntranetMemberGroupService>());
     _permissionsService         = Current.Factory.EnsureScope(s => s.GetInstance <IPermissionsService>());
 }
 public MemberGroupController(IIntranetMemberService <IIntranetMember> intranetMemberService,
                              IIntranetMemberGroupService intranetMemberGroupService)
 {
     _intranetMemberService      = intranetMemberService;
     _intranetMemberGroupService = intranetMemberGroupService;
 }
Exemple #14
0
 public MemberGroupController(IIntranetMemberGroupService intranetMemberGroupService) =>