Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1683

New admin report to show all capabilities of roles

XMLWordPrintable

    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      Working at Universidade Federal de Santa Catarina, in Brazil, there was a need to compare the permissions of all roles, side by side, to assist the coordinator to give capabilities and avoid inconsistencies in roles hierarchy.
      So, i have made a admin report, that let the user choose which papers to compare, and prints a table, with lines being the capabilities, the coluns being the roles and we have used colors to determine the permission: white is not set, green is allow, yellow is prevent, and red is prohibit.

      Hope you like, i am attaching an screenshot and a tar.gz with the code (that must be discompacted in moodle/admin/reports/ , and the file report_rolescapabilities.php moved to moodle/lang/en_utf8 ).

        1. 1683_array_chunk.diff
          2 kB
          Daniel Neis Araujo
        2. risks.images.diff
          5 kB
          Daniel Neis Araujo
        3. rolescapabilities.png
          198 kB
          Daniel Neis Araujo
        4. rolescapabilities.tgz
          21 kB
          Daniel Neis Araujo
        5. rolescaps2.png
          108 kB
          Daniel Neis Araujo

            aborrow Anthony Borrow
            danielneis Daniel Neis Araujo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.