Root pages permissions
Hey all,
I updated the permissions on the right side (all pages) permissions with a custom role. Gave it almost all permissions. Then I had a user log in and it appears only 1 root page got the role. The remainder root pages don't appear to be impacted by the additional role. Inheritance is set for all the root pages. This is version 6.3.5000.
I may go and 'break inheritance' of all the root pages and add in my custom role, but I'd rather have or hope to have this inherited by the 'all permissions' link on the right side. I would think this was the purpose.
Hi,
When page inherit permissions from parent (the root permissions of pages) they should all inherit the changes made. Please test if for a page breaking inheritance and then inheriting again picks up the custom user role then use the query below to perform this operation on all pages.
PageManager manager = PageManager.GetManager();
var pages = manager.GetPageNodes();
foreach
(var page
in
pages)
manager.BreakPermiossionsInheritance(page);
manager.SaveChanges();
manager.RestorePermissionsInheritance(page);
manager.SaveChanges();