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

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7886
    diconc
    Participant

    Hello,

    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,
    Alejandro

    #7888
    Vladimir
    Keymaster

    Hi 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.

    #7891
    diconc
    Participant

    Hello 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,
    Alejandro

    #7892
    Vladimir
    Keymaster

    Alejandro,

    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.

    #7893
    diconc
    Participant

    Vladimir,

    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!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.