Closed LuksAO closed 2 weeks ago
This is because your teacher does not have the capability ‘moodle/category:viewhiddencategories’ and as the rules are bounded to a context, when we look for rules to display in category contexts and the user does not have the above capability, the error is displayed as expected. We have added a control to check whether or not to display the rules based on that capability, so the error won't be shown. Thanks for pointing us this out, @LuksAO.
Moodle version: 4.1.11+ (Build: 20240614) local_notificationsagent version: 0.6.0
When you enter to "My assistant" in a course as a user with Teacher role (not admin) and the course's direct parent category is marked as not visible, the page shows the following error: