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

Dashboard shows overrides for all groups including ones the user is not a member of

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with two groups (A and B), two three users (X, Y and Z) and a lesson
      2. User X must be in only group A
      3. User Y must be in only group B
      4. User Z must be in both group A and B
      5. Create a group override for the lesson for group A
      6. Duplicate it (it's important that it is identical in terms of the dates), but set it for group B
      7. Log in as user X
      8. Verify you see the correct overridden dates on the overview (i.e. the dates for group A)
      9. Log in as user Y
      10. Verify you see the correct overridden dates on the overview (i.e., the dates for group B)
      11. Log in as user Z
      12. Verify you see both overrides for group A and B
      Show
      Create a course with two groups (A and B), two three users (X, Y and Z) and a lesson User X must be in only group A User Y must be in only group B User Z must be in both group A and B Create a group override for the lesson for group A Duplicate it (it's important that it is identical in terms of the dates), but set it for group B Log in as user X Verify you see the correct overridden dates on the overview (i.e. the dates for group A) Log in as user Y Verify you see the correct overridden dates on the overview (i.e., the dates for group B) Log in as user Z Verify you see both overrides for group A and B
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-58575-master

      Description

      You need a course with at least 2 users and at least 2 groups.

      1. Assign "User A" to group "A"
      2. Assign "User J" to group "J"
      3. Create a lesson activity and set the due date in the past
      4. Create a group override for group A with a start time and ending time today (so the activity is currently open)
      5. Duplicate the override for "group A" and assign the override to group J
      6. Log in as the student "user A"
      7. Navigate to the dashboard, you will see two overrides listed. One for your group and one for the other group (which you are not a member)

      See attached screenshots

      Reproducible only on 3.3

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cameron1729 cameron1729
              Reporter:
              sbourget Stephen Bourget
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Jake Dallimore
              Tester:
              John Okely
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/May/17