-
Bug
-
Resolution: Fixed
-
Major
-
2.2.3, 2.3
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MDL-33401-master -
-
A user with site level default manager permissions cannot add a block to the front page.
MDLQA-2024 was executed during 2.2 QA testing and passed. I have tested this in 2.2.3 and 2.3 and a user with manager permissions at site level cannot add blocks to the front page on either of those versions of Moodle.
Test both tests in 2.2.3 and 2.3.
Test 1:
Test Pre-requisites:
- A user assigned the manager role at site level.
Test Steps:
1. Login as a manager and turn editing on for the front page.
2. Add a comments block.
3. Configure the comments block and set the page contexts to display throughout the entire site.
4. Browse to a course and check that the comments block is displayed on the course page.
5. Configure the comments block on the course page and change the weight on this page to -10.
6. Check that the comments block is displayed at the top of the course page (or just below any other blocks with weight -10).
Expected result:
- The manager can add a comments block to the front page.
Actual Result:
- When editing is turned on the manager sees "There are no blocks that you can add to this page." in the "Add a block" block and there are no controls to add a block.
Test 2:
Test Pre-requisites:
- A user assigned the manager role at site level.
- A user assigned the manager role at front page level.
Test Steps:
1. Login as a manager and turn editing on for the front page.
2. Add a comments block.
3. Configure the comments block and set the page contexts to display throughout the entire site.
4. Browse to a course and check that the comments block is displayed on the course page.
5. Configure the comments block on the course page and change the weight on this page to -10.
6. Check that the comments block is displayed at the top of the course page (or just below any other blocks with weight -10).
Expected result:
- The manager can add a comments block to the front page.
Actual Result:
- When editing is turned on the manager sees "There are no blocks that you can add to this page." in the "Add a block" block and there are no controls to add a block.
- blocks
-
MDLQA-2024 CLONE - A manager can configure a block to display thoughout the site
- Passed