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

Cannot assign roles to blocks in indexsys.php (default Dashboard or My page)

    XMLWordPrintable

Details

    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-51702_master
    • Hide

      Test 1

      1. Using the default system permissions
      2. Log in with an account (not an admin nor any account with another system assigned role than authenticated user, which is the default one)
      3. Go to your dashboard
      4. Click on customize this page and expand actions menu in one of the page's blocks nothing related with permissions should appear
      5. Log in with an admin account
      6. Go to your dashboard
      7. Click on customize this page and expand actions menu in one of the page's blocks a 'Permissions' (may be something different in 2.9 but related with permissions) item should be there and if you click on it you are redirected to the permissions page

      Test 2 (30 and master)

      1. Repeat MDL-25451 testing instructions
      Show
      Test 1 Using the default system permissions Log in with an account (not an admin nor any account with another system assigned role than authenticated user, which is the default one) Go to your dashboard Click on customize this page and expand actions menu in one of the page's blocks nothing related with permissions should appear Log in with an admin account Go to your dashboard Click on customize this page and expand actions menu in one of the page's blocks a 'Permissions' (may be something different in 2.9 but related with permissions) item should be there and if you click on it you are redirected to the permissions page Test 2 (30 and master) Repeat MDL-25451 testing instructions
    • 3.1 Sprint 3

    Description

      MDL-14402 removed the ability to assign/edit roles to blocks for the Dashboard page - but it also means you can no longer assign / edit roles on the default Dashboard page either. There are legitimate reasons for adding blocks on the default page, and some of these might be only for a set system-wide role.

      Annoyingly, and existing blocks with some permissions set can now no longer be modified, as the link is removed.

      Can this be reviewed?

      Attachments

        Issue Links

          Activity

            People

              dmonllao David Monllaó
              jennerm Matt Jenner
              cameron1729 cameron1729
              Dan Poltawski Dan Poltawski
              John Okely John Okely
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              10 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Mar/16