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

It should be possible to override Repository capabilties in activity contexts

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-63818-master-2
    • Hide
      1. Create a book activity
      2. From the Edit cog, choose the Permissions page
        1. Verify that the Repository capabilities are shown.
        2. Verify that capabilities relating to the book tool are shown.
        3. Verify that no capabilities for forum, quiz, assign, or any other plugins are shown.
      Show
      Create a book activity From the Edit cog, choose the Permissions page Verify that the Repository capabilities are shown. Verify that capabilities relating to the book tool are shown. Verify that no capabilities for forum, quiz, assign, or any other plugins are shown.

      All the repository capabilities declare themselves as 'contextlevel' => CONTEXT_MODULE, which means that they should be overridable at that context level. However, they are not returned by context_module::get_capabilities, so they don't show up in the UI.

            dobedobedoh Andrew Lyons
            timhunt Tim Hunt
            Tim Hunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m

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