Moodle

Replace separate moodle/category :create, :update and :delete capabilities with a single :manage. Rename :visibility to :viewhiddencategories

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.9.4
  • Component/s: Administration
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

At the same time, ensure that these capabilities are enforced consistently. In particular when they are granted in a subcategory, and not globally.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

weblib/ update_categories_search_button((
still uses moodle/category:update capability,

working on a fix, I hope Tim will not fix it before me again :-D

Show
Petr Škoda (skodak) added a comment - weblib/ update_categories_search_button(( still uses moodle/category:update capability, working on a fix, I hope Tim will not fix it before me again :-D
Hide
Petr Škoda (skodak) added a comment -

reclosing, used :manage instead

Show
Petr Škoda (skodak) added a comment - reclosing, used :manage instead
Hide
Tim Hunt added a comment -

Weird. How did I miss this one? I am sure I searched the whole code for the old capability names. Anyway, thanks for fixing Petr.

Show
Tim Hunt added a comment - Weird. How did I miss this one? I am sure I searched the whole code for the old capability names. Anyway, thanks for fixing Petr.
Hide
Helen Foster added a comment -
Show
Helen Foster added a comment - Just checked whether these capability changes were documented and found: http://docs.moodle.org/en/Capabilities/moodle/category:manage http://docs.moodle.org/en/Capabilities/moodle/category:viewhiddencategories http://docs.moodle.org/en/Moodle_1.9.4_release_notes Thanks for doing a great job Tim!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: