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

Add "mod/chat:view" permission to Chat Activity

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: Chat
    • Testing Instructions:
      Hide

      Manual testing:
      This requires a course with at least 2 student users.

      1. Testing the chat:view capability:
        1. Create a chat activity
        2. Override the permissions on the chat activity so the chat:view permission is prohibited for student2
        3. Have student1 view the chat activity
        4. Verify the chat activity does not appear to student 2

      Automated testing:

      1. Run behat for mod_chat
      2. Run phpunit for mod_chat
      Show
      Manual testing: This requires a course with at least 2 student users. Testing the chat:view capability: Create a chat activity Override the permissions on the chat activity so the chat:view permission is prohibited for student2 Have student1 view the chat activity Verify the chat activity does not appear to student 2 Automated testing: Run behat for mod_chat Run phpunit for mod_chat
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-55251_m32v1

      Description

      The Page resource as the following permission:
      mod/page:view

      This prohibits users who don't have this permission from seeing the Page.

      It would be great if this permission could be added to the Chat activity.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16