Hello,
My contributors and authors have access to the testimonial settings. They can edit, delete or add some testimonials. It would be better to restrict the settings page just to editors/admin, isn't it ?
How can I make that ?
Thanks.
Hello,
My contributors and authors have access to the testimonial settings. They can edit, delete or add some testimonials. It would be better to restrict the settings page just to editors/admin, isn't it ?
How can I make that ?
Thanks.
evo252,
Good question and one that I need to research and figure out. I'll let you know soon.
Michael
It seems that most plugins don't have permissions built-in, but run against WordPress's default Roles and Capabilities per http://codex.wordpress.org/Roles_and_Capabilities.
Have you tried http://wordpress.org/extend/plugins/role-scoper/ to modify the restrictions to your needs?
You can replace "edit_posts" of testimonials-widget.php at line 35 $testimonialswidget_admin_userlevel = 'edit_posts'; with one of the following "level_N" options to change the role required to access the testimonials management page.
Administrator: level_10
Editor: level_7
Author: level_4
Contributor: level_1
Subscriber: level_0
You must log in to post.