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

Edit icon also shown for enrolment methods when enrol/{method}:config is not granted

    XMLWordPrintable

Details

    Description

      The page for enrolments shows the edit icon (cogwheel) for all enrolment methods when moodle/course:enrolconfig is set also if enrol/{method}:config is missing. Clicking on the icon results in an error message.

      Steps to reproduce:

      1. Create a course
      2. Verify you don't have the permission enrol/manual:config for this course (which is default setting for teacher role).
      3. Go to page 'Participants' -> 'Enrolment methods' in the course.
      4. Click on the cog wheel next to 'Manual enrolments'.
      5. You will see the error message 'Sorry, but you do not currently have permissions to do that (Configure manual enrol instances).'

      Attachments

        1. (I) 5 Passed -- (integration_400)MDL-76330.png
          53 kB
          Kim Jared Lucas
        2. (I) 5 Passed -- (integration_401)MDL-76330.png
          56 kB
          Kim Jared Lucas
        3. (I) 5 Passed -- (integration_master)MDL-76330.png
          56 kB
          Kim Jared Lucas
        4. MDL-76330_400.png
          62 kB
          Raquel Ortega
        5. MDL-76330_401.png
          62 kB
          Raquel Ortega
        6. MDL-76330_master.png
          62 kB
          Raquel Ortega

        Activity

          People

            stefan.hanauska Stefan Hanauska
            stefan.hanauska Stefan Hanauska
            Raquel Ortega Raquel Ortega
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 18 minutes
                2h 18m

                Clockify

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