Issue Details (XML | Word | Printable)

Key: MDL-17501
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Hunt
Reporter: Tim Hunt
Votes: 0
Watchers: 1
Operations

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

moodle/course:visibility capability ignored on the course settings page

Created: 03/Dec/08 05:24 PM   Updated: 09/Dec/08 01:49 PM
Return to search
Component/s: Roles
Affects Version/s: 1.9.3
Fix Version/s: 1.9.4

Participants: Petr Skoda and Tim Hunt
Security Level: None
Resolved date: 09/Dec/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Need to:

Give that capability to teachers by default.
Add the capability check in the settings form.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 09/Dec/08 05:10 AM
if ($result && $oldversion < 2007101532.10) {

I think it should verify that roles are already configured
if (!empty($CFG->rolesactive)) {
becasue it might fail when upgrading from 1.6.x, right?


Tim Hunt added a comment - 09/Dec/08 01:49 PM
Wow! Well noticed Petr.