transpix Posted February 5, 2012 Share Posted February 5, 2012 Hi all I've created a new page in "Admin" and installed a custom process for it that lists pages from a specific parent. I have a custom role called "editor" who only has access to the "Pages" admin page acheived by not selecting the "Administrator User" in the permissions for the role. How can I adjust permissions so that I can create admin pages that users of my custom role can access? Thanks Link to comment Share on other sites More sharing options...
Soma Posted February 5, 2012 Share Posted February 5, 2012 You can set the permission in the get module info of the process module. 'permission' => 'somepermission' just create a custom permission and add it to your editor role. Link to comment Share on other sites More sharing options...
transpix Posted February 5, 2012 Author Share Posted February 5, 2012 Magic! Thanks! Link to comment Share on other sites More sharing options...
Soma Posted February 5, 2012 Share Posted February 5, 2012 Your welcome. Also if you want an admin page all users that have "edit" permission can see, you could just use: 'permission' => 'page-edit' , so no need to create custom role for that. But you're free to create one to have additional control. 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