November Happy Hour will be moved to Thursday December 5th.

CMS Edit Admin navigation item missing

Vote:
 

Updated Episerver cms to the latest version and the "CMS" navigation item has disappeared from the dashboard in the back-office and I'm not sure why. I can still manually browse to the CMS using the address bar. The Edit and admin view is missing aswell. Checked modules/_protected and everythings seem to be fine there. Also tried copying the modules/_protected/CMS from another solution but that didn't work either.

		<virtualRoles replacePrincipal="true">
			<providers>
				<add name="Administrators" type="EPiServer.Security.WindowsAdministratorsRole, EPiServer.Framework" />
				<add name="Everyone" type="EPiServer.Security.EveryoneRole, EPiServer.Framework" />
				<add name="Authenticated" type="EPiServer.Security.AuthenticatedRole, EPiServer.Framework" />
				<add name="Anonymous" type="EPiServer.Security.AnonymousRole, EPiServer.Framework" />
				<add name="CmsAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="WebAdmins, Administrators" mode="Any" />
				<add name="CmsEditors" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="WebEditors" mode="Any" />
				<add name="Creator" type="EPiServer.Security.CreatorRole, EPiServer" />
				<add name="PackagingAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="WebAdmins, Administrators" mode="Any" />
				<add name="VisitorGroupAdmins" roles="WebEditors, WebAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" mode="Any" />
			</providers>
		</virtualRoles>
	<episerver.shell>
		<publicModules rootPath="~/modules/" autoDiscovery="Modules" />
		<protectedModules rootPath="~/epi/" autoDiscovery="Modules">
			<add name="EPiServer.Labs.LanguageManager" />
			<add name="EPiServer.Packaging.UI" />
			<add name="Shell" />
			<add name="CMS" />
			<add name="Find">
				<assemblies>
					<add assembly="EPiServer.Find.UI" />
					<add assembly="EPiServer.Find.Blocks" />
					<add assembly="EPiServer.Find.Cms" />
					<add assembly="EPiServer.Find.Framework" />
				</assemblies>
			</add>
			<add name="EPiServer.Cms.TinyMce" />
			<add name="EPiServer.Forms.UI" />
			<add name="EPiServer.Forms" />
			<add name="EPiServer.Marketing.Testing" />
		</protectedModules>
	</episerver.shell>








Thanks

Adil 


#229638
Edited, Oct 20, 2020 18:47
Vote:
 

Found the problem. Has something to do with authorization.

Commented out deny users tag and now the missing navigation items are showing. But can't seem to figure out what really is causing it. The the user I have logged in with has all the roles

			<authorization>
				<allow roles="WebAdmins, Administrators" />
				<!--<deny users="*" />-->
			</authorization>

Tried adding allow user and it worked but not for roles

			<authorization>
				<allow roles="WebAdmins, Administrators" users="epiadmin"/>
				<deny users="*" />
			</authorization>

#229663
Edited, Oct 21, 2020 1:00
Vote:
 

Solved the third-party plugin specifically GuardDocument was the problem.

Got help from episerver support.

#229740
Oct 22, 2020 10:42
Vote:
 

Solved! Third-party plugin was the problem, removed it from web.config file and now everything works fine.

Got help from episerver support.

#229741
Edited, Oct 22, 2020 10:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.