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

Non default capabilities may break course module editing form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Revoke tool/lp:coursecompetencymanage to the teacher role
      2. As a teacher, edit an activity that has competencies
      3. Confirm that you don't see competencies and that you can edit and submit the form
      4. Restore tool/lp:coursecompetencymanage to the teacher role
      5. Confirm that you can edit the competencies of the activities used earlier
      Show
      Revoke tool/lp:coursecompetencymanage to the teacher role As a teacher, edit an activity that has competencies Confirm that you don't see competencies and that you can edit and submit the form Restore tool/lp:coursecompetencymanage to the teacher role Confirm that you can edit the competencies of the activities used earlier
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53437-master
    • Sprint:
      CBE Sprint 7

      Description

      This issue is about investigating and fixing the effect of the use of non-default capabilities (teacher, non-editing teacher, etc...) to read/manage course competencies.

      It seems that when a user can not manage course competencies, and edit a module they will be shown the option to change the course module competencies, but when they do an exception will be raised.

      Users should either not be able to modify the module competencies, or the field should be disabled.

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Jun Pataleta
            Participants:
            Component watchers:
            Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: