Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80968

Grade permission not granted to manager, teacher and teacher-noeditor despite they are authorized

XMLWordPrintable

    • MOODLE_403_STABLE

      Goodmorning, 
      I'm experimenting an issue with a new installation of Moodle. The issue was present in 4.3.2 installation, but I just tried to upgrade to 4.3.3+ and it's still the same

      Enviroment:
      OS: AlmaLinux 8
      PHP: 8.1.27
      Database: mariadb (10.11.7-MariaDB) +
      Moodle release: 4.3.3+ (Build: 20240215) 

      Users: 
      I actually have 3 users.

      • One is admin (and everything works fine). 
      • One is manager (and can't access to course grade) 
      • One is teacher / teacher no editor (and can't access to course grade) 

      Check I really did: 

      • Permission report: the users are allowed to moodle/grade: (with some limitations, as it should be) 

      • Manager is system wide role and teacher-teacher no editor are course level roles. Within the "global roles" panel I can see that (so these two users are manager and are system wide assigned) 

      • Despite the system-wide permission report, when I go to "check permission for user" panel, I get this result (this is for a manager account, "MOR MARIA"): 

       

       

      • So, already starting from the "manager role" I can't understand why I have the role enabled to these permissions but when I check a user assigned to this role he hasn't this permission inherited. 
      • The same happens for teacher on course level environment. I have a registered user (with no particular role at System) assigned to the course as "teacher no editor" (but it's the same with "teacher"). When I check permission on course level, he hasn't got permission to moodle/grade:

         

       

      • The result of that is that I can see the grade menu from these account (teacher and manager) but when I try to access it I get some errors: 
        • "You cannot see other's grades" (so something related to "grade:viewall" permission"

       

       

      I tried everything I found in blog/forums and official documentation. I also found some related resolved bug (but from 2015 topics). 

            Unassigned Unassigned
            fmfgroup Andrea Vizzari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.