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

It should be possible to override Repository capabilties in activity contexts

    XMLWordPrintable

Details

    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              timhunt Tim Hunt
              Tim Hunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Janelle Barcega Janelle Barcega
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/18

                Time Tracking

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