diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/dashboard.aspx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/dashboard.aspx.cs index 6bff08325f..7b94d1fd89 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/dashboard.aspx.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/dashboard.aspx.cs @@ -292,8 +292,22 @@ namespace umbraco.cms.presentation bool retVal = true; if (accessRules != null && accessRules.HasChildNodes) { + string currentUserType = CurrentUser.UserType.Alias.ToLowerInvariant(); + + //Update access rules so we'll be comparing lower case to lower case always + + var denies = accessRules.SelectNodes("deny"); + foreach (XmlNode deny in denies) + { + deny.InnerText = deny.InnerText.ToLowerInvariant(); + } + + var grants = accessRules.SelectNodes("grant"); + foreach (XmlNode grant in grants) + { + grant.InnerText = grant.InnerText.ToLowerInvariant(); + } - string currentUserType = CurrentUser.UserType.Alias.ToLower(); string allowedSections = ","; foreach (BusinessLogic.Application app in CurrentUser.Applications) {