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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2
    • 3.1
    • Chat
    • MOODLE_31_STABLE
    • MOODLE_32_STABLE
    • MDL-55251_m32v1
    • Easy
    • 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

      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.

            sbourget Stephen Bourget
            sbourget Stephen Bourget
            Simey Lameze Simey Lameze
            David Monllaó David Monllaó
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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