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

Whole grade Forum fails on separated groups with capability disabled for moodle/site:accessallgroups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.8.6, 3.9.3, 3.10
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create a course C1 with separated courses
      2. Create two users, t1 and s1.
      3. Enrol t1 in C1 as a non editor teacher and enrol s1 in C1 as a student.
      4. Change permissions on non editor teacher and prohibit moodle/site:accessallgroups (applies too to teacher if you change it) 
      5. Create 2 groups. 
      6. Assign t2 to group 1 and Student to group2
      7. Create a Forum with "whole forum grading"
      8. Login as s1 and add a Post on forum
      9. Login as t1 and click on grade 
      10. The user list show 2 users and error when you try to navigate to Student (because don't belong to your course) 

      The user list don't check if you can assess to this student

      Show
      Create a course C1 with separated courses Create two users, t1 and s1. Enrol t1 in C1 as a non editor teacher and enrol s1 in C1 as a student. Change permissions on non editor teacher and prohibit moodle/site:accessallgroups (applies too to teacher if you change it)  Create 2 groups.  Assign t2 to group 1 and Student to group2 Create a Forum with "whole forum grading" Login as s1 and add a Post on forum Login as t1 and click on grade  The user list show 2 users and error when you try to navigate to Student (because don't belong to your course)  The user list don't check if you can assess to this student
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

      Description

      Hi we have noneditors teachers that has disabled moodle/site:accessallgroups then the list of students show all users

       

      Shows this error

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              abertran Antoni Bertran Bellido
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: