Any way to remove Exempt Assignments from a student's course page

Any way to remove Exempt Assignments from a student's course page

by John Provasnik -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Testers

Hello!

I'm running Moodle 3.1 -- teachers use the Exempt checkbox in the Single View to "Exempt" students from various assignments. 

We then ask teachers to go lock students out of those assignments so students can't submit to these exempted assignments.

Problem is, students still accidentally submit work for those assignments IF a teacher forgets to lock them out of it. 

Is there anyway to get Exempted assignments to NOT appear on a student's course page?

If not, open to any suggestions. 


Thanks!

Average of ratings: -
In reply to John Provasnik

Re: Any way to remove Exempt Assignments from a student's course page

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi John,

When you say you use the 'Exempt checkbox' in Single View, I assume you actually meant to write 'Exclude checkbox'?

Screenshot of single view grading screen

Assuming that is the case: the exclude checkbox only operates on the grade after it has been sent from the assignment activity to the gradebook. There is nothing in the code to allow you to configure it to restrict access to the assignment itself.

The only solution I could think of would be for someone to develop a custom availability plugin ( https://docs.moodle.org/dev/Availability_conditions ) that would allow you to prevent access to an activity if the associated grade was marked as excluded in the gradebook. None of the existing 3rd-party availability conditions appear to cover that use case ( https://moodle.org/plugins/browse.php?list=category&id=57 ).

Average of ratings: Useful (1)