Moodle

New admin report: Capability report

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

A new admin report that allows the user to select a capability, and then lists, for every role:

  • the permission for that capability in the definition of the role. This will be a link to the edit role page for this role.
  • and every context where that capability is overridden, and that the permission is overridden to.

The contexts will be shown as a tree, using <ul> tags. Each context name will be a link to the corresponding override role page.

The links are to make it easy to update the information that appears in the report. Each link will only appear if the user is allowed to go there.

This report will be available to anyone with capability moodle/role:manage.

The report will have URLs like ....php?capability=moodle/question:edit, so it is easy to construct links to it from elsewhere.

Question: should this be an admin report plugin, or part of the roles admin interface?

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: