• Resolved Arley McBlain

    (@arleym)


    Hello!
    I’m managing a WP site that has a few dozen users. In many cases a specific user only should have access to a couple specific parts of the backend. What would be the best way to do this? Is it ok to have dozens of User Roles? I’ve never dealt with this issue, I’m hoping I’m not creating something that’s a hassle to manage a year down the road.

    I also welcome any recommendations on User Role plugins (I suspect we will be eventually adding new User Roles commonly, or granting specific users new access, so I think the functions.php route is impractical here). A plugin recommendation is worth a thousand trial installs 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tim Nash

    (@tnash)

    Spam hunter

    While I can’t recommend a plugin for creating roles and capability (something I would do via WP-CLI rather then through a plugin) I can say having multiple roles is not going to cause you issues.

    It’s worth baring in mind that capabilities and roles are different, so while your roles are a collection of capabilities to be applied, individuals can have capabilities not associated with their role. Also many plugins make use of capabilities and may not apply such capabilities to roles that you create so you may find your custom roles need some TLC every once in a while.

    Custom roles however are always useful, for example if building sites for clients which we manage I tend to have a “uber admin role” which is actually an editor role, with the ability to add users. Which I give to clients admin users. So they can add other users but can’t cause to much carnage.

    I suggest you to look at this plugin: Members.

    Thread Starter Arley McBlain

    (@arleym)

    You guys have been super helpful! Great advice, and very encouraged to know I’m not going down an avoidable path to ruin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User Roles Strategy’ is closed to new replies.