Change WordPress user roles and capabilities › Forums › Give user access to plugin – how to › Give access to a specific role to access the “Redirection” plugin
- This topic has 4 replies, 2 voices, and was last updated 4 years, 1 month ago by
diconc.
-
AuthorPosts
-
05/04/2022 at 10:13 #7886
diconc
ParticipantHello,
I would like users who have a specific Role to be able to enter and modify the options on the Redirection page (https://mywebsite.com/wp-admin/tools.php?page=redirection.php).
Since that panel is on the “Tools” page, I have tried giving the role the “manage_options” permission, but the WordPress “Tools” window does not appear.
What permissions should I give to the Role for that option to appear and be able to modify the options?
Thank you very much,
Alejandro05/04/2022 at 13:08 #7888Vladimir
KeymasterHi Alejandro,
Right, Redirection plugin itself requires ‘manage_options’ capability. But “Tools” menu is protected by ‘edit_posts’. Add ‘edit_posts’ capability to your role and “Tools” menu will appear with “Redirection” and some other submenu items together.
05/04/2022 at 13:58 #7891diconc
ParticipantHello Vladimir,
Thank you for your response.
I have tried adding both permissions at the same time and it didn’t work, I even created a new role to test and I don’t get the options, could you tell me if I need to add/remove any more permissions?
PS: I clicked on your user profile on your website (https://www.role-editor.com/forums/users/vladimir/) and I have seen some PHP warnings, I say this in case there is a problem on your website.
Best regards,
Alejandro05/04/2022 at 14:23 #7892Vladimir
KeymasterAlejandro,
My test role contains just 3 capabilities: read, edit_posts, manage_options
and such user sees Tools->Redirection menu item.
What if you deactivate all plugins except redirection? Will it become available?Thanks for the note about PHP warnings. I fixed the problem.
05/04/2022 at 15:11 #7893diconc
ParticipantVladimir,
I’m glad you were able to fix the errors and that my warning helped you.
I just tried deactivating all plugins except User Role Editor and Redirection and now it works.
The problem must be some conflict with some other plugin, so, now it is my task to fix it.
Thank you very much for your time and help, Vladimir, we can consider the “ticket” as solved!
-
AuthorPosts
- You must be logged in to reply to this topic.