Moodle

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.9.4
  • Component/s: Roles / Access
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Need to:

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

Activity

Hide
Petr Škoda (skodak) added a comment -

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?

Show
Petr Škoda (skodak) added a comment - 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?
Hide
Tim Hunt added a comment -

Wow! Well noticed Petr.

Show
Tim Hunt added a comment - Wow! Well noticed Petr.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: