Okay
  Public Ticket #2788083
Allow Editors to Use wpDataTables
Closed

Comments

  • Lukas started the conversation

    Hi there,

    I am looking for a way to allow Editors to use wpDataTables Plugin without giving them full access to the manage_options capabilities.
    Is there a way to do that? I searched for general ways to change that in Wordpress plugins, but none of the ways I found seems to work for wpDataTables. 

    Thank you very much for your help!

  • [deleted] replied

    Hi Lukas

    Thank you for reaching out to us.

    Unfortunately it is not possible to select specific features to be available or unavailable based on the user's role. 

    We do have an editing option where Users see and edit only own data where you can manage which data will be shown to which users, and Editor roles where you can specify which user roles will be able to edit the table.

    1095916251.png


    I hope this helps, do let us know if there is anything else we can assist you with.


  • Lukas replied

    Hi Blaženka,

    Thank you for your answer! 

    So there is no way to allow an editor to create a new table? This would be a feature I think would be very useful. I myself wouldn't be afraid to change some things in the plugin code, but I don't know where exactly the PHP checks which role a user has. 

    I really need my editors to be able to create new tables (with SQL), but at the same time I don't want them to be able to change every other option in Wordpress. Is there a way to request a feature?

    My only workarround at the moment is quite complex, it would be the Plugin "User Role Editor" to allow them to "manage_options" and at the same time use "Adminimize" to not show all the options to them in the menu...

    Best regards

  • [deleted] replied

    You are most welcomesmile.png

    Unfortunately, only Administrators have access to wpDataTables' back-end. 

    You would need to use some role-managing plugins to choose what each user role can access. Something like Optin-Monster, or some other plugin (I'm not sure about them, since we're not using them). You can download User Role Editor plugin, with which you can change capabilities of Editor user role.

    You can suggest this as a feature, of course, by following this link, and it will go straight to our developers.