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

Notify all members of the group when a submission is made, or updated, or deleted by any student who's member of the group.

XMLWordPrintable

    • MOODLE_25_STABLE, MOODLE_400_STABLE, MOODLE_403_STABLE
    • MDL-41411-main
    • Hide
      Prerequisite
      • Have a student with first name "Grainne", last name "Beauchamp", middle name "Ann", alternate name "Jill" (last two settings are under "Additional names") and let that student have preferred language other than site language. E.g. the site is 'en' so choose 'fr' for example.
      • Have a second student with first name "Niamh", last name "Cholmondely", middle name "Jane", alternate name "Nina".
      • In Admin, have alternativefullnameformat set to "middlename, alternatename, firstname, lastname".
      Case without Require all group members submit
      1. In a course, enrol both students and put them into the same group.
      2. As a teacher, create an assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "No".
      3. As a student, make a submission.
      4. Verify that as the student making the submission you get a notification, and it is in french.
      5. Verify that as a student being in the same group as the student making the submission you get a notification.
      Case with Require all group members submit
      1. As a teacher, create a second assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "Yes".
      2. As a student, make a submission.
      3. Verify that as the student making the submission you get a notification.
      4. Verify that as a student being in the same group as the student making the submission you get a notification.
      Case when moodle/site:viewfullnames is given to the student role on system level (as if they were teachers)
      1. For the 'student' role, set the capability of 'moodle/site:viewfullnames' for system level to "allow" (in Site administration → Users → Permissions → Define roles).
      2. As a teacher, create a third assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "No".
      3. As a student, make a submission.
      4. Verify that as the student making the submission you get a notification.
      5. Verify that as a student being in the same group as the student making the submission you get a notification, and that it does contain the name of the other student in the format "middlename, alternatename, firstname, lastname".
      Case when moodle/course:viewparticipants is prevented from the student role in the course (Moodle instances or courses where students have not the possibility to see other participants)
      1. In this course, for the capability 'moodle/course:viewparticipants' either remove 'Student' from the Roles with permission or add the role 'Student' to "prevent".
      2. As a teacher, create a fourth assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "Yes".
      3. As a student, make a submission.
      4. Verify that as the student making the submission you get a notification.
      5. Verify that as a student being in the same group as the student making the submission you get a notification, and that it does not contain the name of the other student but states "A member of your group whose name you cannot see due to your Moodle's privacy settings" and that the sender's first name and lastname states "Anonymous Anonymous".
      Case with assignment group setting is set to no and course setting set to force group mode.
      1. Reset moodle/viewparticipants:viewparticipants and 'moodle/site:viewfullnames' to the default for the student role again.
      2. Set the course to force group mode.
      3. As a teacher, create another assignment activity, and leave the "Students submit in groups" setting to "No".
      4. As a student, make a submission.
      5. Verify that as the student making the submission you get a notification.
      6. Verify that as a student being in the same group as the student making the submission you get a notification.

      This is all covered by PHPUnit tests, alongside the cases for submission copy and submission removal.

      Show
      Prerequisite Have a student with first name "Grainne", last name "Beauchamp", middle name "Ann", alternate name "Jill" (last two settings are under "Additional names") and let that student have preferred language other than site language. E.g. the site is 'en' so choose 'fr' for example. Have a second student with first name "Niamh", last name "Cholmondely", middle name "Jane", alternate name "Nina". In Admin, have alternativefullnameformat set to "middlename, alternatename, firstname, lastname". Case without Require all group members submit In a course, enrol both students and put them into the same group. As a teacher, create an assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "No". As a student, make a submission. Verify that as the student making the submission you get a notification, and it is in french. Verify that as a student being in the same group as the student making the submission you get a notification. Case with Require all group members submit As a teacher, create a second assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "Yes". As a student, make a submission. Verify that as the student making the submission you get a notification. Verify that as a student being in the same group as the student making the submission you get a notification. Case when moodle/site:viewfullnames is given to the student role on system level (as if they were teachers) For the 'student' role, set the capability of 'moodle/site:viewfullnames' for system level to "allow" (in Site administration → Users → Permissions → Define roles). As a teacher, create a third assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "No". As a student, make a submission. Verify that as the student making the submission you get a notification. Verify that as a student being in the same group as the student making the submission you get a notification, and that it does contain the name of the other student in the format "middlename, alternatename, firstname, lastname". Case when moodle/course:viewparticipants is prevented from the student role in the course (Moodle instances or courses where students have not the possibility to see other participants) In this course, for the capability 'moodle/course:viewparticipants' either remove 'Student' from the Roles with permission or add the role 'Student' to "prevent". As a teacher, create a fourth assignment activity, set the "Students submit in groups" setting to "Yes", "Require group to make submission" to "Yes" and "Require all group members submit" to "Yes". As a student, make a submission. Verify that as the student making the submission you get a notification. Verify that as a student being in the same group as the student making the submission you get a notification, and that it does not contain the name of the other student but states "A member of your group whose name you cannot see due to your Moodle's privacy settings" and that the sender's first name and lastname states "Anonymous Anonymous". Case with assignment group setting is set to no and course setting set to force group mode. Reset moodle/viewparticipants:viewparticipants and 'moodle/site:viewfullnames' to the default for the student role again. Set the course to force group mode. As a teacher, create another assignment activity, and leave the "Students submit in groups" setting to "No". As a student, make a submission. Verify that as the student making the submission you get a notification. Verify that as a student being in the same group as the student making the submission you get a notification. This is all covered by PHPUnit tests, alongside the cases for submission copy and submission removal.

      Currently the assignment only notifies the student who performs the action when a team submission is submitted, copied etc.
      All members of the group should be notified.
      Not just the student performing the submission button click, but all members of the group.

      Amanda Doughty has worked on this in a different issue and has some work in progress branches here:

      https://github.com/frogprincess/moodle/tree/MDL-41149-master-group-notification

            lucaboesch Luca Bösch
            damyon Damyon Wiese
            Stephan Robotta Stephan Robotta
            Ilya Tregubov Ilya Tregubov
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 6 minutes
                1d 1h 6m

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