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

Wrong contextlevel for "mod/feedback:createpublictemplate" capability

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6.3
    • None
    • Feedback
    • MOODLE_36_STABLE
    • Easy

    Description

      The capability "mod/feedback:createpublictemplate" is read only on the system context when determining whether to show the checkbox it controls, but it's defined with contextlevel module. This is confusing as assigning the capability at module level has no effect (if you ignore the ability to process a checkbox you can't see).

      It would be better if the contextlevel accurately reflected the intended use.

      (Just to note, the system-level only behaviour is as documented, and is by design - see MDL-42415 and MDL-43501)

      Attachments

        Activity

          People

            Unassigned Unassigned
            maherne Michael Aherne
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m