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

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

XMLWordPrintable

    • MOODLE_32_STABLE
    • MDL-55254_m32v3
    • Easy
    • 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

      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.

            sbourget Stephen Bourget
            sbourget Stephen Bourget
            Adrian Greeve Adrian Greeve
            David Monllaó David Monllaó
            Ryan Wyllie Ryan Wyllie
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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