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

Wrong contextlevel for "mod/feedback:createpublictemplate" capability

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: Feedback
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_36_STABLE

      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

            • Assignee:
              Unassigned
              Reporter:
              maherne Michael Aherne
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • 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