Skip to content

Admin & the HR Manager role

Under Site administration → Plugins → Local plugins → Report panel you can:

  • Set the panel heading text.
  • Edit the card URLs for the linked cards (leaderboard, site reports, log report, team reports, badges) — relative defaults are pre-filled; repoint them to match your site.
  • Enable or disable each external card.

The accent colour follows your active theme; there’s no hardcoded brand colour. The plugin stores no data of its own — reports read live from the LMS.

Give a non-admin full access: the HR Manager role

Section titled “Give a non-admin full access: the HR Manager role”

Administrators get full access automatically. To give a non-admin the full, all-user reporting experience, create an HR Manager role. The single permission that unlocks full mode is local/reportpanel:viewall.

  1. Go to Site administration → Users → Permissions → Define roles → Add a new role (no archetype; context: System).
  2. Name it HR Manager.
  3. Allow these capabilities:
    • local/reportpanel:view — see the panel.
    • local/reportpanel:viewall — full mode (all-user data, pickers, search).
  4. To make the linked admin cards (Site reports, Log report, Team reports) appear and open without errors, also allow the capabilities those pages require — for example moodle/site:viewreports, report/log:view, mod/quiz:viewreports, moodle/grade:viewall, and (if Teams is installed) local/edzteams:viewall.
  5. Create the role, then assign it to the relevant people under Assign system roles.

Cards whose required capability a viewer doesn’t hold are simply hidden, so users never hit “access denied” dead-ends. Removing local/reportpanel:viewall from a user instantly drops them back to the self-service view.