Tyssen Posted January 30, 2018 Share Posted January 30, 2018 I managed to figure this out last year but when I've come to do it again today, something's not working, and I can't find the forum threads that originally led me to the solution. I have the Processwire general settings module installed. When you install it, it automatically gives you a menu item under the Setup menu. I want to give non superuser members access to that too. What I found before said to add a permission to the getModuleInfo function for the module. I've done that, added a permission in the control panel, and assigned it to the role but it's not showing up under Setup when I log in as that user. So I must've missed a step, but can't think what it might be. Link to comment Share on other sites More sharing options...
flydev Posted January 30, 2018 Share Posted January 30, 2018 Hi @Tyssen What I usually do is : 1. Edit the getModuleInfo()'s module [...] 'page' => array( 'name' => 'general_settings', 'parent' => 'setup', 'title' => 'General settings', ), 'permission' => 'global-site-settings', 'permissions' => array( 'global-site-settings' => 'Access to Global Site Settings.' ), [...] 2. Uninstall / re-install the module 3. Add a new role : site-settings 4. Add to this role the permission : global-site-settings 5. Add the site-settings role to the user 6. Logoff / login the user No extra steps required. 4 Link to comment Share on other sites More sharing options...
Tyssen Posted January 31, 2018 Author Share Posted January 31, 2018 Thanks. It was the uninstalling/reinstalling the module step that I was missing. ? 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