Issue Details (XML | Word | Printable)

Key: MDL-15941
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Petr Skoda
Reporter: Todd Thornton
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Can not override block view permission

Created: 05/Aug/08 01:22 PM   Updated: 19/Aug/08 01:30 PM
Return to search
Component/s: Roles
Affects Version/s: 1.9.2
Fix Version/s: 1.9.3

File Attachments: None
Image Attachments:

1. overrideroles191.jpg
(50 kB)

2. overrideroles192.jpg
(36 kB)

Participants: Petr Skoda, Tim Hunt and Todd Thornton
Security Level: None
QA Assignee: Tim Hunt
Resolved date: 06/Aug/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
I sometimes need to hide blocks from students and have never had a problem overriding roles/permissions until the latest version of 1.9.2+. When logged in as admin, and you get to the stage where you should be able to set permissions and say hide from students you don't get any choices but a messages that says "no capabilities available in this context". I may be missing something simply, but I've never touched "roles" in either install except in the manner I've described. Two screenshots attached.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda committed 2 files to 'Moodle CVS' - 06/Aug/08 01:07 PM
MDL-15941 block view permissions override regression fixed
MODIFY lib/accesslib.php   Rev. 1.509    (+3 -3 lines)
MODIFY blocks/moodleblock.class.php   Rev. 1.105    (+3 -3 lines)
Petr Skoda committed 2 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 06/Aug/08 01:08 PM
MDL-15941 block view permissions override regression fixed, merged from HEAD
MODIFY blocks/moodleblock.class.php   Rev. 1.92.2.9    (+3 -3 lines)
MODIFY lib/accesslib.php   Rev. 1.421.2.71    (+6 -3 lines)