Support » Plugin: Advanced Access Manager » 2.5 Beta adding Capability of Level 10 deleted role

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi harpo1984,
    Check this topic http://wordpress.org/support/topic/administrator-role-not-showing?replies=5
    Follow us on twitter. This is our channel for news and announcements.

    Regards,
    Vasyl

    Hi Vasyl,

    I tried your suggestion, but it has not worked.

    I have attached a screenshot in case I have entered the wrong code in Config Press.

    Screenshot

    Just to be clear, when I create a new role or edit any existing role and give that role Level 10 capabilities, I get the error:

    “You are not allowed to manager current view”

    When I refresh the page, the role I just edited is deleted, whether it be a new role or an existing default WordPress role.

    Kind regards,

    Simon

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi Simon,
    Is your admin has ID 2? It is possible just mostly admin has ID 1 because it is the first user that is created by WordPress installation process.
    The user that you are using does not have capability Level 10. That is why each time you create any role with Level 10, it is higher than yours. This is the reason why it behaves this way.

    Regards,
    Vasyl

    Hi Vasyl,

    My ID is 2. I change all initial IDs from 1 in a WordPress installation for security reasons.

    If my code is correct in the config press, why does the Administrator role not become available in the roles list and therefore the “inherit capabilities” when I try to add a new user role.

    Kind regards,

    Simon

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi Simon,
    Most likely your Administrator Role does not have Level 10. Can you confirm this?

    And this should work. Check this tutorial: http://wpaam.com/tutorials/aam-super-admin/

    Regards,
    Vasyl

    Hi Vasyl,

    My access level is 10. Please see the screen link below.

    Screen

    The tutorial gives the same instructions instructions that you sent in another topic thread earlier in this conversation.

    I have followed those instructions and my user access level is 10 and the Administrator role is still not appearing.

    Kind regards,

    Simon

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi Simon,
    The screen shot that you attached does not show the correct Level. You have to check the wp_user_roles property in wp_options table. It has serialized array of all capabilities.
    This is where you have to verify that your Role has Level 10.

    Regards,
    Vasyl

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘2.5 Beta adding Capability of Level 10 deleted role’ is closed to new replies.