[Plugin: Members] add plugin capability to roles
-
Hi Justin,
I use your great plugin for a lot of sites where I have the administrator role and I give the site owner the site_owner role, showing a lot less of the admin to reduce the “mess-up-factor”.
Lots of plugins use a capability of ‘manage_options’ to define certain functionality, but that is exactly the capability that I delete for the role of site_owner.
Usually when I do want something to show for site_owners I have to hack the plugin file and change ‘manage_options’ into ‘manage_links’ (a capability that site_owners do have).
But I rather define those capabilities in the Member plugin.
Is there a way to easily do this?
As an example to illustrate what I mean we can take Headspace. Headspace has a settings menu that site_owners don’t need to see, but under Tools in the Dashboard there is a handy tool to mass-edit meta-data. Within the plugin, that capability is defined to roles that can ‘manage_options’. I manually change that into ‘manage_links’ for it to become visible for site_owners.
- The topic ‘[Plugin: Members] add plugin capability to roles’ is closed to new replies.