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

capability moodle/site:manageblocks used in myMoodle for block editing allows users to see "Turn editing on" button on the site home page

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.1, 1.9
    • 1.8
    • Roles / Access
    • None
    • n/a
    • Any
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      Change the existing capability check in myMoodle from moodle/site:manageblocks to moodle/my:manageblocks so that the users of myMoodle don't see the "Turn editing on" button on the site home page when you give them this capability.

      What I did was add this capability to the default role for all users so that anyone could see the editing blocks on the myMoodle page. As I said above this had the unfortunate side affect of allowing them to see the "Turn editing on" button on the site home page, even though if this is clicked on nothing happens.

      So all I would like is to have a new capability and change the check, it's that simple

            jenny-gray Jenny Gray
            mrbriz James Brisland
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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