Mr. Moodle: Can I Prevent Teachers From Viewing Or Editing Their Own Gradebook?

AI in Education Leaderboard Post Page
Ai In Education Square Post Page

--- Advertisement ---

Dear Mr Moodle,

I’m an admin for our Moodle 3.2 site. I have been asked to restrict gradebook settings access to teachers but don’t know how. I have been instructed that only admin and managers have access to gradebook settings.

Please help!

A big thank you!!


Dear Melissa,

As you have experienced, teachers have complete access to the Gradebook for the courses they teach. Admins can, however, go into the code and edit these permissions, In Moodle development lingo, these are called “capabilities.”

To manage the details of what any kind of user can do or view, you need to look into their specific capabilities. Take a look at the index of capabilities for Moodle 3.2 here. (Bear in mind it’s three pages long.) So if you are looking to either prevent teachers from editing the gradebook, or barring access to it completely, you might need to review capabilities associated with grades. Below I include some of the capabilities that are enabled for teachers by default, but I recommend you look at the index for yourself.

  • moodle/grade:edit to edit grades and lock individual grades
  • mod/assign:grade to see and comment
  • mod/assign:managegrades to review and release grades
  • mod/assign:releasegrades to release grades
  • mod/assign:reviewgrades to review grades
  • moodle/course:managegrades to determine student and assignment availability in the gradebook
  • moodle/grade:hide to hide or show individual grades
  • moodle/grade:manage to create, edit, lock, hide, and delete items in the gradebook
  • moodle/grade:override
  • moodle/grade:unlock
  • moodle/user:viewusergrades
  • moodle/grade:view
  • moodle/grade:viewall
  • moodle/grade:viewhidden

To manage the capabilities of the roles, go to the editing role page available at Administration > Site administration > Users > Permissions > Define roles.

More on Managing Roles in Moodle 3.2 here.

Keep in mind that any change you make will apply to every user with that role. Moodle lets you reset any changes to the default, but my personal recommendation is to keep the default roles as they are and instead create custom roles with the specific capabilities that your site needs and switch teachers to the new role.

Reply to Mr. Moodle in the comments, or ask him something new here.

eThink LogoThis Moodle Practice related post is made possible byeThink Education, a Certified Moodle Partner that provides a fully-managed Moodle experience including implementation, integration, cloud-hosting, and management services. To learn more about eThink, click here.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

The Latest

The eLearn Podcast

--- Advertisement ---

Subscribe to our newsletter

Education technology has the power to change lives. 

To get the latest news, information and resources about online learning from around the world by clicking on the button below.