Assistance Needed to Create a New Role for Viewing Grades Only

Assistance Needed to Create a New Role for Viewing Grades Only

by Mohamad Salman Al-shikh wis -
Number of replies: 1

Hello Moodle Community,

I hope you are all doing well.

I need your assistance in creating a new role in Moodle titled "Completed" or "Passed." The goal of this role is to allow students to view only their grades in the gradebook without granting any other permissions within the course.

Key requirements for the new role:

  1. View Gradebook: Allow students to access the gradebook page and view their grades.
  2. Restrict Other Access: Prevent students from accessing any other course content or participating in activities.
  3. Retain Grade Visibility: Ensure that grades remain visible to students even after their role is changed to "Completed" or "Passed."

I have tried adjusting permissions such as moodle/grade:view and gradereport/user:view, but I encountered some difficulties in achieving the desired outcome. I would appreciate any guidance or advice on the specific settings or methods I should follow to configure this role properly.

Any help or direction would be greatly appreciated!

Thank you in advance for your support.

Average of ratings: -
In reply to Mohamad Salman Al-shikh wis

Re: Assistance Needed to Create a New Role for Viewing Grades Only

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hello,

I suggest creating a new role and selecting Student as archetype, then going through the list of capabilities and changing permissions from Allow to Not set.

You may like to test things on our Sandbox demo site where you can log in as an admin in one browser and as a student in another browser.

Please let us know how you get on!