Have you added the Administrators virtual role to your mapped roles in appsettings.json?
E.g.
{
"EPiServer": {
"CMS": {
"MappedRoles": {
"Items": {
"Administrators": { "MappedRoles": [ "WebAdmins" ] },
"CmsEditors": { "MappedRoles": [ "WebEditors" ] },
"CmsAdmins": { "MappedRoles": [ "WebAdmins" ] },
},
Hi Patrick
Do you have any custom plug-ins or modules in the solution and have these been upgraded to CMS 12 compatible version?
It is possible that one of the custom modules doesn't have the correct authorization policy applied. You can check each module's module.config (in the zip file) is using one of the known CmsPolicyNames
I have Geta Tags (2.0.7) and Geta NotFoundHandler (5.0.8) which are both updated for CMS 12.
Check if there are any custom menu providers, with authorisation policy applied
Also, try the following mapped roles in appsettings:
"EPiServer": {
"CMS": {
"MappedRoles": {
"Items": {
"CmsEditors": { "MappedRoles": [ "WebEditors" ] },
"CmsAdmins": { "MappedRoles": [ "WebAdmins" , "Administrators"] },
}
On secound thought your solution may require a virtual role called "Administrators", in that case
"EPiServer": {
"CMS": {
"MappedRoles": {
"Items": {
"CmsEditors": { "MappedRoles": [ "WebEditors" ] },
"CmsAdmins": { "MappedRoles": [ "WebAdmins" , "Administrator"] },
"Administrators": { "MappedRoles": [ "WebAdmins" , "Administrator", "Other_claims_you_might_want"] } // this virtual role
}
There was a custom menu provider which was looking for Administrators role, i've swapped this to use CMSAdmins.
Menus are now loading, with the exception of /Episerver/CMS. Screen is blank when trying to load it and there are no console errors or .net exceptions thrown.
We are in the process of migrating a CMS 11 / Commerce website over to CMS 12 and Commerce 14. After logging into the CMS user interface we get a 500 error from this request:
/EPiServer/Shell/epiplatformnavigation?product=global_cms&parentProduct=
No menus load in the cms as a result. Error stacktrace is as follows: