Change WordPress user roles and capabilities › Forums › Give user access to plugin – how to › Problem with permission to access page on a plugin
- This topic has 7 replies, 4 voices, and was last updated 2 years, 11 months ago by Vladimir.
24/08/2016 at 19:48 #2652APSParticipant
I am using LearnDash, an LMS plugin which creates courses, lessons, quizzes, etc. URE allows me to give different roles the possibility to create_courses, edit_courses, delete_courses, etc. However, when a non admin tries to create a quiz, they see the error message : “You do not have sufficient permissions to access this page”. They can do everything else in the plugin — create courses, lessons, certificates, etc. just not quizzes. Before I installed LearnDash, I was using a similar quiz plugin and a different role manager plugin (not as good as URE !) Perhaps this has affected the database? Do you have any idea why I am receiving the error message and what I can do?
APS25/08/2016 at 04:44 #2655
Try to allow this user role to edit posts: create_posts, edit_posts, edit_published_posts, edit_others_posts.25/08/2016 at 10:29 #2657APSParticipant
Thanks for the reply.
Unfortunately, I’d already given these permissions to the role.
It’s bizarre because the role can create everything else in the plugin – courses, classes, etc – except quizzes.
On a test site (on a different server) where I have LearnDash and URE (free version) installed, it’s also impossible for the author and editor role to create quizzes, but a custom role I created based on the contributor role CAN! The same role on my main site CAN’T. What can explain this?
APS25/08/2016 at 10:50 #2658
Send a copy of LearnDash to support [at-sign] role-editor.com
I will investigate this issue.19/01/2020 at 06:01 #6575CEAParticipant
Was there ever a solution to this? Having the same issue.09/04/2020 at 20:56 #6755ElizabethMParticipant
Same issue here…any resolution? Thanks.10/04/2020 at 02:56 #6756
Can you share with me the latest version of Learndash? If Yes, share it with support [at-sign] role-editor.com via Google Drive or DropBox.13/04/2020 at 05:00 #6757
@ElizabethM: Thanks for your help.
Learndash (LD) plugin source code checking showed that LD uses 10 additional capabilities to manage access for quizies:
You can find them under the ‘Custom capabilities’ group. LD grants these capabilities automatically to the ‘administrator’ role only. Did you try to grant them to your custom role in order to resolve the permissions problem?
Of course role should can all capabilities required by at least the LD courses custom post type:
Let me know if you need the additional help.
- You must be logged in to reply to this topic.