Carrotware.CMS.Core.CmsAdminAuthorizeAttribute.AuthorizeCore C# (CSharp) Method

AuthorizeCore() protected method

protected AuthorizeCore ( System.Web.HttpContextBase httpContext ) : bool
httpContext System.Web.HttpContextBase
return bool
        protected override bool AuthorizeCore(HttpContextBase httpContext)
        {
            if (!SecurityData.IsAuthenticated) {
                return false;
            }

            if (SecurityData.GetIsAdminFromCache()) {
                return true;
            }

            return false;
        }
CmsAdminAuthorizeAttribute