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

Link to edit course summary should be hidden when capabilities are not met

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 2.3.7, 2.4.4, 2.5
    • Course
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE

    Description

      The link to edit a course summary should be hidden in the course summary block under those circumstances:

      • Give the non-editing teacher role to a user on the front page
      • Give the non-editing teacher role the capability moodle/course:activityvisibility
      • Go to the front page with the non-editing user
      • Switch editing on

      Expected:

      • You cannot see the cog to edit the course summary in the course summary block

      Actual:

      • You can see the cog, click on it and see a bad exception

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fred Frédéric Massart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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