nickngqs Posted December 29, 2017 Share Posted December 29, 2017 (edited) How do I change the permissions for Who can access this page for a single page. This page inherits the admin template. I'm currently creating a new page called Settings using admin template and assigning it to a process of a module. I can see the Settings tab in superuser, but I can't see them in a role I defined called 'client'. So, how can i control what the client sees for admin template? Is there a page specific overwrites for permissions. I've tried allowing access in admin template view, edit. But still doesn't work Edited December 29, 2017 by horst added "[solved]" to the post title Link to comment Share on other sites More sharing options...
Robin S Posted December 29, 2017 Share Posted December 29, 2017 Access for Process modules is managed using the 'permission' item in the getModuleInfo() array. You can also create the permission and the page for the Process via getModuleInfo(). You'll need to uninstall then reinstall your module for the settings to take effect. See Ryan's ProcessHello demo module. And the comments in the Process class. 4 Link to comment Share on other sites More sharing options...
nickngqs Posted December 29, 2017 Author Share Posted December 29, 2017 Hi thanks! Managed to follow your tips. However, I still unable to see the tab on the masthead. I did managed to add the permissions and add them to my Role 'Client'. So previously, I can't access url/admin/settings. But right now I can access url/admin/settings using the permission. But still unable to figure out how to see the Settings tab. This is the superuser view While the client view is Link to comment Share on other sites More sharing options...
szabesz Posted December 29, 2017 Share Posted December 29, 2017 1 hour ago, nickngqs said: But still unable to figure out how to see the Settings tab. Did you logout/login the client user? 4 Link to comment Share on other sites More sharing options...
nickngqs Posted December 29, 2017 Author Share Posted December 29, 2017 20 minutes ago, szabesz said: Did you logout/login the client user? Ahh! Thanks! Managed to get this working guys! You'll need to login and log out again 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now