• Resolved rafamem

    (@rafamem)


    The super administrator cannot access content for the editor and consequently does not allow you to log in.

    When you login in wp-admin with the super admin the following message appears: The current user doesn’t have the extra capability “editor” that is required to access…

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Technically, an administrator does not have the “Editor” role or the “editor” capability – they have the “Administrator” role instead. So a user that has the “Administrator” role won’t be able to access a menu item if the extra capability is set to “editor”.

    If you want both editors and administrators to be able to access a menu item, consider using a capability that is enabled for both of those roles, like edit_pages.

    Thread Starter rafamem

    (@rafamem)

    I have applied your suggestion to the menu items that I want both of them to see, but there are some items that I only want the administrator to see and when I log in with an editor user, instead of hiding the menu items that I don’t want him to see, it blocks me all the wp-admin where the following message appears…

    “You do not have sufficient permissions to access this admin page.
    Reason: There is a hidden menu item with the same URL (index.php) but a higher priority.”

    For example, I want the WordPress dashboard to see only the administrator, not the editor.

    Plugin Author Janis Elsts

    (@whiteshadow)

    WordPress automatically redirects every user to index.php (Dashboard -> Home) when they log in. This means that if the dashboard is hidden, the user will get an error message after logging in. That is, the login is still successful, but the user gets automatically redirected to an inaccessible page.

    If you do want to hide the dashboard, you’ll need to redirect users to a different page. You can do that in the recently added “Redirects” tab in AME, or you can use a different redirection plugin such as LoginWP.

    Thread Starter rafamem

    (@rafamem)

    Now I understand how it works better, thanks for your explanations! Here is my rating 🙂 https://wordpress.org/support/topic/muy-util-211/#new-post

    Plugin Author Janis Elsts

    (@whiteshadow)

    Thank you for the great rating. I’ll mark this thread as resolved.

    So glad I found this discussion! I, too, had incorrectly set the capability and received the same message when I tried to log in. After reading here, I realized I could get to the profile page after I saw the error message (above, which only appears after you are actually logged in) simply by putting my domain name followed by /wp-admin/profile.php. (Any other page ought to work as well, as long as it is not the main dashboard page.) From there it was easy to correct the problem.

    • This reply was modified 3 years, 9 months ago by greentreefrog. Reason: Clarification
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘The administrator cannot access content for the editor’ is closed to new replies.