Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Prerequisite

      1. Course with min. one assignment activity without team submission (A1) and one with team submission (A2) (with "Require all group members submit" set to yes)
      2. Few enrolled students with some active enrolments, some suspended enrolment, and some with expired enrolments.
      3. Few submissions from active and suspended users
      4. Few groups with active and suspended users.

      Test 1

      1. As editing teacher and make sure teacher have moodle/course:viewsuspendedusers capability.
      2. Go to course and view A1, Make user participants/Submitted/Needs grading should only show count related to active users only (It should not include suspended/inactive users)
      3. Click on view/grade all submissions
      4. Make sure you can see "Show only active enrolments" checkbox under options
      5. Select "Show only active enrolments" and only active users should be visible.
      6. Un-select "Show only active enrolments" and you should see active and suspended users.
      7. Make sure suspended users are shown in grey with suspended icon.
      8. As admin remove "moodle/course:viewsuspendedusers" capability for teacher
      9. Log in as teacher again and you should not see "Show only active enrolments" checkbox.
      10. Make sure only active users are visible and there is no way to view inactive/suspended users in activity.

      Test 2:

      1. Go to A2 (Team assignment) as student
      2. You should see "Submission status" with list of users who need to submit assignment. This should not include suspended users.
      3. submit assignment for all active users
      4. When last student in group submits assignment, you should not see "Submission status" with any list.
      5. As teacher Grade for team and everyone (suspended or active) users should be graded.
      6. Remove "moodle/course:viewsuspendedusers" capability for teacher
      7. As teacher Grade for team and only active users should be graded.
      Show
      Prerequisite Course with min. one assignment activity without team submission (A1) and one with team submission (A2) (with "Require all group members submit" set to yes) Few enrolled students with some active enrolments, some suspended enrolment, and some with expired enrolments. Few submissions from active and suspended users Few groups with active and suspended users. Test 1 As editing teacher and make sure teacher have moodle/course:viewsuspendedusers capability. Go to course and view A1, Make user participants/Submitted/Needs grading should only show count related to active users only (It should not include suspended/inactive users) Click on view/grade all submissions Make sure you can see "Show only active enrolments" checkbox under options Select "Show only active enrolments" and only active users should be visible. Un-select "Show only active enrolments" and you should see active and suspended users. Make sure suspended users are shown in grey with suspended icon. As admin remove "moodle/course:viewsuspendedusers" capability for teacher Log in as teacher again and you should not see "Show only active enrolments" checkbox. Make sure only active users are visible and there is no way to view inactive/suspended users in activity. Test 2: Go to A2 (Team assignment) as student You should see "Submission status" with list of users who need to submit assignment. This should not include suspended users. submit assignment for all active users When last student in group submits assignment, you should not see "Submission status" with any list. As teacher Grade for team and everyone (suspended or active) users should be graded. Remove "moodle/course:viewsuspendedusers" capability for teacher As teacher Grade for team and only active users should be graded.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      wip-mdl-40218

      Description

      Assign
      Submission list: add option to exclude suspended users from the list
      remove suspended users from submitted assignments count (View X submitted assignments) based on above preference
      submission list: Add SU symbol (as per current gradebook functionality)
      Bulk assignment download: use above toggle
      Individual assignment feedback: use above toggle when displaying Save and Next buttons
      Assignment
      Same as above for Assign

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rajeshtaneja Rajesh Taneja
                Reporter:
                rajeshtaneja Rajesh Taneja
                Peer reviewer:
                Damyon Wiese
                Integrator:
                Marina Glancy
                Tester:
                Dan Poltawski
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13