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

Add "mod/data:view" permission to Database Activity

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

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

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

      Automated testing:

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

      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 Database activity.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbourget Stephen Bourget
              Reporter:
              sbourget Stephen Bourget
              Peer reviewer:
              Adrian Greeve
              Integrator:
              David Monllaó
              Tester:
              Ryan Wyllie
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

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