Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2964

Allow teachers to delete messages for all users within their conversations in the app

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.7.0
    • 3.6.1
    • Messages add-on
    • Hide

      This issue should be tested onceĀ MDL-65132 has been integrated.

      You only need to test this in 1 device.

      1. In web, make sure to create at least 1 group conversation with a student and a teacher.
      2. Assign the capability "moodle/site:deleteanymessage" to the teacher.
      3. In the app, login as a student and open the group conversation.
      4. Send at least 3 messages.
      5. Using the top-right menu, enable show delete.
      6. Click the trash icon next to any message (please remember which one it is). Check that the confirm message says the message will only be deleted for you.
      7. Confirm the delete and check that the message has been deleted for you.
      8. Now login as the teacher and open the same conversation. Check that you still see the message that the student deleted.
      9. Using the top-right menu, enable show delete.
      10. Click the trash icon next to another message (please remember which one it is). Check that the confirm modal contains a checkbox to delete the message for everyone.
      11. Click OK without enabling the checkbox. Check that the message is deleted for you.
      12. Now click the trash icon next to another message (not the same as in step 6, please remember which one it is).
      13. Enable the checkbox to delete for all users and confirm. Check that the message is deleted for you.
      14. Now login as student again and open the group conversation. Check that you see the message from the step 10 (it was deleted only for the teacher) but not the one from step 12.
      Show
      This issue should be tested onceĀ  MDL-65132 has been integrated. You only need to test this in 1 device. In web, make sure to create at least 1 group conversation with a student and a teacher. Assign the capability "moodle/site:deleteanymessage" to the teacher. In the app, login as a student and open the group conversation. Send at least 3 messages. Using the top-right menu, enable show delete. Click the trash icon next to any message (please remember which one it is). Check that the confirm message says the message will only be deleted for you. Confirm the delete and check that the message has been deleted for you. Now login as the teacher and open the same conversation. Check that you still see the message that the student deleted. Using the top-right menu, enable show delete. Click the trash icon next to another message (please remember which one it is). Check that the confirm modal contains a checkbox to delete the message for everyone. Click OK without enabling the checkbox. Check that the message is deleted for you. Now click the trash icon next to another message (not the same as in step 6, please remember which one it is). Enable the checkbox to delete for all users and confirm. Check that the message is deleted for you. Now login as student again and open the group conversation. Check that you see the message from the step 10 (it was deleted only for the teacher) but not the one from step 12.
    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • Moodle App 3.7.0

      Allow teachers to delete messages for all users within their conversations

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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