Wordpress plugin role management on a per plugin basis

5 replies
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.
#basis #management #plugin #role #wordpress
  • Profile picture of the author bestfriend
    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.
    {{ DiscussionBoard.errors[4420936].message }}
  • Profile picture of the author Mike Adams
    This does it by restriction role access and works on multisite and non multisite Plugins - White Label Branding for WordPress Multisite - CodeCanyon
    Signature
    P.S. If you found my post useful, please click the "Thanks" button below...
    {{ DiscussionBoard.errors[4421214].message }}
  • Profile picture of the author jaybaker
    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
    Signature

    Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
    - The AC Assassin

    {{ DiscussionBoard.errors[4423276].message }}
    • Profile picture of the author bestfriend
      Originally Posted by jaybaker View Post

      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
      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.
      {{ DiscussionBoard.errors[4429065].message }}
  • Profile picture of the author Harrison_Uhl
    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?
    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
    {{ DiscussionBoard.errors[4460263].message }}

Trending Topics