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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.2
    • 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

    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

              sbourget Stephen Bourget
              sbourget Stephen Bourget
              Simey Lameze Simey Lameze
              David Monllaó David Monllaó
              Marina Glancy Marina Glancy
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16