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

    • Bug
    • Resolution: Fixed
    • Major
    • 3.3
    • 3.3
    • Lesson
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • MDL-58575-master
    • 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

    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

              cameron1729 cameron1729
              sbourget Stephen Bourget
              Adrian Greeve Adrian Greeve
              Jake Dallimore Jake Dallimore
              John Okely John Okely
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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