Moodle QA
  1. Moodle QA
  2. MDLQA-1190 Moodle 2.2 QA
  3. MDLQA-1245

CLONE - Past chat sessions can be made available for everyone to view

    Details

    • Type: Functional Test Functional Test
    • Status: Passed
    • Affects Version/s: Moodle 2.2
    • Fix Version/s: Moodle 2.2
    • Component/s: Chat, Student, Teacher
    • Labels:
      None

      Description

      This test requires a chat with saved past chat sessions.

      1. Prevent the student role from the capability "Read chat logs mod/chat:readlog" within the chat.
      2. Login as a teacher, update a chat activity and set 'Everyone can view past sessions' to Yes.
      3. Login as a student, access the chat and check that past chat sessions can be viewed via the 'View past chat sessions' link.
      4. Login as a teacher, update the chat activity and set 'Everyone can view past sessions' to No.
      5. Check that past chat sessions can be viewed (as a teacher) via the 'View past chat sessions' link.
      6. Login as a student, access the chat and check that there is no longer a 'View past chat sessions' link.
      7. Return the "Read chat logs mod/chat:readlog" capability to the student
      8. Check that past chat sessions can be viewed (as a student) via the 'View past chat sessions' link.

        Issue Links

          Activity

          Hide
          Andrew Nicols added a comment -

          Followed all instructions and confirmed functionality.

          Also tried to copy/paste the URLs to access logs directly (access denied) and this worked as expected too.

          Whilst all of the functionality is there and works, I came across a display bug - MDL-30428 which should be addressed

          Show
          Andrew Nicols added a comment - Followed all instructions and confirmed functionality. Also tried to copy/paste the URLs to access logs directly (access denied) and this worked as expected too. Whilst all of the functionality is there and works, I came across a display bug - MDL-30428 which should be addressed
          Hide
          Aparup Banerjee added a comment -

          the fix has just been integrated, thanks.

          Show
          Aparup Banerjee added a comment - the fix has just been integrated, thanks.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: