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
Todd Thornton added a comment - 05/Aug/08 09:27 PM
Petr,

I mucked the comments up as I was working on two different things at the same time and posted a coment in the wrong place, but please ignore the close bug request. The behavior I described in the original report is still what I'm experiencing. I went back and changed my mistake, but of course it still shows up in history.

Todd


Petr Skoda added a comment - 05/Aug/08 10:16 PM
I am going to fix it tomorrow in cvs

Petr Skoda added a comment - 06/Aug/08 01:10 PM
fixed in cvs, to get the update you can use cvs, tomorrow daily build or next Wednesday weekly build, details are available from the version tab above.

thanks for the report


Tim Hunt added a comment - 19/Aug/08 01:30 PM
Tested and reviewed code, and I can confirm that this works.