public WebsiteAccessPermissionProvider( Entity website, CacheSupportingCrmEntitySecurityProvider webPageAccessControlSecurityProvider, IContentMapProvider contentMapProvider) : base(contentMapProvider) { _webPageAccessControlSecurityProvider = webPageAccessControlSecurityProvider as WebPageAccessControlSecurityProvider; _website = website; }
protected UncachedProvider( WebPageAccessControlSecurityProvider webPageAccessControlProvider, PublishedDatesAccessProvider publishedDatesAccessProvider, PublishingStateAccessProvider publishingStateAccessProvider, string portalName = null) { _webPageAccessControlProvider = webPageAccessControlProvider; _publishedDatesAccessProvider = publishedDatesAccessProvider; _publishingStateAccessProvider = publishingStateAccessProvider; _eventAccessPermissionProvider = new EventAccessPermissionProvider(); _forumAccessPermissionProvider = new ForumAccessPermissionProvider(this.current); _blogSecurityProvider = new BlogSecurityProvider(_webPageAccessControlProvider, this.current, portalName); _ideaSecurityProvider = new IdeaSecurityProvider(this.current, portalName); _issueSecurityProvider = new IssueSecurityProvider(portalName); PortalName = portalName; }
protected override WebsiteAccessPermissionProvider CreateWebsiteAccessPermissionProvider(Entity website, WebPageAccessControlSecurityProvider webPageAccessControlProvider) { return(new WebsiteAccessPermissionProvider(website, webPageAccessControlProvider, _contentMapProvider)); }
protected virtual WebsiteAccessPermissionProvider CreateWebsiteAccessPermissionProvider(Entity website, WebPageAccessControlSecurityProvider webPageAccessControlProvider) { return(new WebsiteAccessPermissionProvider(website, HttpContext.Current)); }