Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin only access #122

Open
LufoX11 opened this issue Oct 11, 2019 · 4 comments
Open

Admin only access #122

LufoX11 opened this issue Oct 11, 2019 · 4 comments

Comments

@LufoX11
Copy link

LufoX11 commented Oct 11, 2019

Hi. I have multiple users with admin role, so I installed a plugin (User Role Editor) to clone this role and modify it, so these users will still be able to perform admin actions but they won't have full access to all admin options. So, the main user role has "Administrator" role and the other "admin" ones have (let's say) "Administrator-light" role.

The problem is that they can still see Settings->Adminimize. I'd like to have a config option to only show this config panel to certain users. Would it be possible?

Thank you and nice plugin!

@bueltge
Copy link
Collaborator

bueltge commented Oct 12, 2019

Remove on the Administrator Light role the manage options capabiloand it should work.

@LufoX11
Copy link
Author

LufoX11 commented Oct 13, 2019

The managa option will remove a lot of admin functionality that I need them to keep. Maybe a more specific permission? I don't know why this plugin (User Role Editor) can identify permissions from some plugins, but not all of them.

@bueltge
Copy link
Collaborator

bueltge commented Oct 13, 2019

The plugin identity the permissions from each menu item. But lot of plugins use the default item, like manage_options and so it give no difference between the seetings of plugins.

@bueltge
Copy link
Collaborator

bueltge commented Mar 19, 2020

I mean the solid way is to add a custom capability, on default add to the Administrator role and change them inside the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants