Is there a minimum required role level required in order to access wpDataTables menu from the Dashboard?
I have an Editor who is unable to access. I have some role-based restrictions installed, and I just want to know if I need to troubleshoot my code or if the issue lies in your plugin.
If you take a look at our documentation you will see this notice
"Please note that as wpDataTables has direct access to the database (WordPress database, or a remote MySQL DB) the plugin admin pages are restricted to admin users only, and not visible to editors or users with other roles. To allow them to see it you would need to grant them ‘manage_options’ capability."
Hey there...
Is there a minimum required role level required in order to access wpDataTables menu from the Dashboard?
I have an Editor who is unable to access. I have some role-based restrictions installed, and I just want to know if I need to troubleshoot my code or if the issue lies in your plugin.
Let me know. Many thanks!
Hi jaemaz,
Thank you for your purchase.
If you take a look at our documentation you will see this notice
"Please note that as wpDataTables has direct access to the database (WordPress database, or a remote MySQL DB) the plugin admin pages are restricted to admin users only, and not visible to editors or users with other roles. To allow them to see it you would need to grant them ‘manage_options’ capability."
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Ok thanks.
For the benefit of others, in order to grant that specific permission to the Editor role, place this code in your theme's function.php file:
<?php
// get the the role object
$editor = get_role('editor');
// add $cap capability to this role object
$editor->add_cap('manage_options');
?>
Hi jaemaz,
Thank you for sharing the solution with us and other users.
The ticket is public so if anyone else need the solution he will find here.
Thank you again.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Also Bogdan...
I searched your docs for the word "roles" before submitting a ticket, and got no result.
https://www.awesomescreenshot.com/image/2615925/51d047cf66cb1460f3ad345347b5aed0
Hi jaemaz,
It is because we do not have special page or post for Roles.
I wrote down your suggestion so maybe we can add the page or post regarding to the Roles so the users can find that easily.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables