CMS Editor access for specific page without using CmsEditors

Vote:
 

Hi,

I'm trying to provide access to specific group of people for a particular page(News) and its child items, So I followed the below steps but its not enabling the edit access to user, meaning user is not getting the top right Epi Edit page link and mannual url login(/EPiServer/) also not working.

 

Also I looked into this link (https://world.optimizely.com/forum/legacy-forums/Installation-and-security/Thread-Container/2018/9/how-to-configure-limited-edit-access-in-cms/) and still have question/need clarity about the solution. Do we really need config/appsettings change ?

Since its bit urgent, So I thaught to check here for quick fix. Anyonce have an idea.

Thanks in Advance.

 

 

#337897
Apr 22, 2025 19:02
Vote:
 

Did you map your virtual role "PageEditorForHomepage" to a claim? https://docs.developers.optimizely.com/content-management-system/docs/virtual-roles

e.g

"EpiServer" : {
  "Cms" : {
    "MappedRoles" : {
      "Items" : {
        "PageEditorForHomepage" : {
          "MappedRoles" : [ "WebEditors", "YourSpecialGroupForTheUsers" ],
          "ShouldMatchAll" : "false"
        }
      }
    }
     "CmsPolicy": {
       "EditRoles": [ "SearchAdmins", "WebEditors", "WebAdmins", "YourSpecialGroupForTheUsers", ... ],
       "DefaultShellModuleRoles": [ "SearchAdmins", "WebEditors", "WebAdmins",... ]
    }
  }
}
#337898
Edited, Apr 23, 2025 6:38
Harinarayanan - Apr 23, 2025 12:43
Thanks Eric. That was the missing part. Its working as expected now.
* 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.