Change WordPress user roles and capabilities Forums How to or FAQ Delegate role assignment(selected few not all Roles) to a custom user role

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3512
    [email protected]
    Participant

    Hello,

    We need to be able to allow some users(assigned a custom list_editor role), to be able to assign/revoke a role(s) for users of their site. However the list of roles they can choose to assign/revoke needs to be limited.
    Basically we want to reuse the user list and user edit WP pages but not show All the roles to the list_editor role, when they go to that page.

    Idea is to not allow this list_editor role, to assign an administrator role to anyone- just allow them to pick from within a few custom roles(random_role1, random_role2, randome_role3 etc.. )

    #3513
    Vladimir
    Keymaster

    Hi,

    User Role Editor hides ‘Administrator’ role from non-administrator users (users without ‘administrator’ role) by default.
    If you wish to hide from such user another roles you can use “Other roles access” add-on.

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