You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The url in this line goes to a non-existent page:
"Please refer to the inline phpdocs of the mod_quiz::rule_overridable interface for detailed descriptions of the functions and meaning."
Moreover, the class "rule_overridable" does not appear to be implemented as given in the following example.
The net effect is that if I try to implement rule_overridable as described, it doesn't exist anywhere in core. How do I override an access rule if this is the case?
Activity
timhunt commentedon Sep 18, 2025
Ah! this is cause by the change that moved code to the /public folder.
timhunt commentedon Sep 18, 2025
Needs changes in a few files, so I can't do it now using the github UI.
#1435 is part of the required chagnes, but more work needed.
timhunt commentedon Sep 18, 2025
I probalby won't have time. Helpful if someone else can finish fixing this.
mkpelletier commentedon Sep 19, 2025
Thanks, Tim.
In addition to the path change, the target file doesn't exist either. For example, the earlier links work if you change the path:
https://github.com/moodle/moodle/blob/main/public/mod/quiz/classes/local/access_rule_base.php < This exists
But at the bottom of the documentation, mutatis-mutundis:
https://github.com/moodle/moodle/blob/main/public/mod/quiz/classes/local/rule_overridable.php < this does NOT exist
The net effect is that if I try to implement rule_overridable as described, it doesn't exist anywhere in core. How do I override an access rule if this is the case?
timhunt commentedon Oct 1, 2025
This is now being dealt with in pull 1441.