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

Add "mod/wiki:view" permission to wiki Activity

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

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

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

      Automated testing:

      1. Run behat for mod_wiki
      2. Run phpunit for mod_wiki
      Show
      Manual testing: This requires a course with at least 2 student users. Testing the wiki:view capability: Create a wiki activity Override the permissions on the wiki activity so the wiki:view permission is prohibited for student2 Have student1 view the wiki activity Verify the wiki activity does not appear to student 2 Automated testing: Run behat for mod_wiki Run phpunit for mod_wiki
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-55554_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 wiki activity.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sbourget Stephen Bourget
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: