Support » Plugins and Hacks » Hacks » Limit User Addition to User's Role or Below

  • Resolved jayhughes

    (@jayhughes)


    I’m adding a user role for my company to use to manage plugins, etc for our client sites, and trying to limit the role of the client administrators. I want to keep them from adding plugins, themes, etc.

    I know how to add a role and adjust capabilities via the theme (php). But what I’m looking to do is add a new Role called “[MyCompanyName] Admin” above Administrator. Then, I’ll remove the ability to add plugins, etc from Administrator. So here’s the long and short of it: I want the Administrator role to be able to add users, but not to add a Role above itself (aka “[MyCompanyName] Admin”).

    Can someone give me some pointers on how I could accomplish this? Any advice is greatly appreciated.

Viewing 1 replies (of 1 total)
  • Looks as if this is the default behavior. I added an Editor to WP, gave it permission to add/edit/promote/delete users, and it does not show the ability to add an Administrator. If someone has experienced otherwise, please let me know. Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Limit User Addition to User's Role or Below’ is closed to new replies.