In DNN 5.0 the artificial differences between Regular and Admin pages was removed. All Modules showed in the Admin-Menu can now also be placed on any custom page and basically everyone could use them. This article gives you instructions how to allow Non-Admins to access the DNN Page Management and workaround some limitations.
Erik Van Ballegoij already wrote about how to give non admins access to any admin page. You can just insert the module like any other to a desired Page. It’s important to give the desired user(s) Edit Permission on that Page (not just on that module) otherwise they get an “Access Denied” warning.
Basically that’s it. Users can now edit Page settings for Pages they have edit Permissions to but for no other Pages. There are just two limitations:
- Drag and drop to reorder Pages only works for Administrators
- Add Page(s) only works for Administrators
To get these functionality to work for Non-Administrators adapt the file at ~/DesktopModules/Admin/Tabs/Tabs.ascx.cs. You’d need to comment out a Security check
PortalSecurity.IsInRole(PortalSettings.AdministratorRoleName) 3 times:
OnInit: comment out the if-Condition (line ~237) and the else statement (~243-247)
CtlPagesNodeDrop: comment out the if-Condition (first line)
OnCreatePagesClick: comment out the if-Statement (first two lines)
That’s it. I tested it successfully on DNN 7.3.1.