• Twig

    (@palpatine1976)


    Great plugin – but it looks like the roles used for the “minimum admin access” setting are hard-coded to the WordPress defaults (Author, Editor etc).

    If you use this plugin with Capabilities Manager, then you can create custom roles… but they don’t show up in the UAM settings page dropdown. I have modified the plugin code to make it work, but obviously it would be great if UAM would query the WP db to pull back all the existing roles (just like WP itself does on the “New User” screen). Alternatively, if it used a capability to decide (versus just matching the User’s role)

    Would be great to see this make it into the next release – keep up the good work!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I completely agree with this!

    Sith, can you share the code you used to ‘force’ it to work?

    Thanks!

    Thread Starter Twig

    (@palpatine1976)

    @don – I think i ended up just modifying the built-in Editor role using Cap. Manager, and choosing that in the UAM settings (to avoid having to update plugin code every time there was an upgrade).

    However I think that if you added your own custom Roles to the <select> option on line #486 of /tpl/adminSettings.php in the User-Access-Manager plugin, it should work. Remember that not only are the capabilities important, but the “level” of the Role is sometimes used to determine abilities. I’m still confused by this, but I suppose it depends how the plugin uses the Role info.

    Thanks for the response. I’ve did exactly the same thing (in regards to modifying the editor role) but didn’t look at the adminSettings.php page, I’ll check that out.

    Thanks!

    Hey so I have a bit of a challenging requirement – I need to create a user with priveleges similar to an editor. But this user should have the ability of creating users, and editing only those user’s posts who they have created. Think of it as editor groups. Oh and almost forgot to mention all of this needs to happen programatically – which means the list of user’s an editor has the right to manage, updates dynamically based on new users created by that editor. Any clue how to go about doing this? Help would be MUCH appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: User Access Manager] Integration with custom Roles (Capabilities Manager)’ is closed to new replies.