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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1, 1.9
    • Component/s: Roles / Access
    • Labels:
      None
    • Environment:
      n/a
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            jenny-gray Jenny Gray
            Reporter:
            mrbriz James Brisland
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jun/07