Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-16343

New admin report: Capability report

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None
    • MOODLE_20_STABLE
    • 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?

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10