Wordpress plugin role management on a per plugin basis

by 5 replies
6
Hey fellow warriors, I have a perplexing problem that maybe you can direct me to the proper solution...

I have the need to manage roles in wordpress and have a plugin or two installed but these do not restrict roles in specific plugins.

Say for instance I have a plugin that I want authors to be able to use however to only create and edit/delete their own content but not others. Is there anything out there that can be restrictive down to the individual plugin level?

Jay

P.s. Mods, if this isnt in the right section please feel free to move it.
#programming #basis #management #plugin #role #wordpress
  • Hi Jason,

    If you want to manage user permissions in a plugin's own functions one by one, unfortunately this is not possible at most of the cases, because the plugins didn't coded in that way. The plugin has to be it's own functionality for that purpose. If you want, custom privileges feature can be added to each plugins with some coding work.
  • This does it by restriction role access and works on multisite and non multisite Plugins - White Label Branding for WordPress Multisite - CodeCanyon
  • Hey best friend,

    Am interested to hear all ya have to say on the matter as I am thinking I may have to edit the simple retail menus plugin to do this...

    Thanks
    • [1] reply
    • Hey Jay,

      I installed the simple retail menus plugin on my local server to test it out. As far I understand, you want that if user 1 created a menu named "Drink" that's only (visible? and) editable by user 1, so on. Right?

      The plugins source code developed very clean and very well commented. It has a own table in database. About how to go, for instance, you can add an extra column to it for users, and then can edit functions according to that. You will see the parts separated with comments in the source code responsible for outputs, edit function etc.
  • Banned
    [DELETED]
  • Your question seems like it might be more about permission regarding what individual users can do with posts that they entered vs what others authored. Is it sufficient to simply block all (low level) users from editing posts entered by others? If this is what you are after it is not really a question relating to one plugin vs another.

    This level of control seems to be what is already the default for a Wordpress install.

    Wordpress has a fairly extensive rights and permission scheme built in, and much of it is adjustable. But this in not an area in which I have spent much time.

    I hope I haven't misunderstood the question.

    Harrison

Next Topics on Trending Feed