• Resolved Drauth

    (@drauth)


    HI;
    I created a new role, “staff”.
    It must have the ability to edit and create new users (and so far it’s easy), but it must not be able to modify the administrator or editor roles. It’s possible? How to do?
    And is it possible to assign it a hierarchy with respect to other existing roles, default WordPress ones or customized?
    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @drauth

    What you are looking for is a position feature that lets you set members of a particular role to be able to edit users with roles “lower” or “lower or equal” to their own role. For example, you could set Editors to be able to create new Editors or only roles lower than Editor.

    In order to use it, you need to activate “Members – Role Hierarchy” Add-on under Members > Settings > Add-Ons tab, and once it’s done you should see “Role Position” meta when you edit role.

    Keep in mind that higher value, the higher the role will be in hierarchy, so if you set 10 which is really low value, members won’t be able to edit capabilities for roles of higher position. Do not set this value to 100 as this is position of Administrator.

    Hopefully, that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Limit the users editing’ is closed to new replies.