<?php  if (!defined('DASHBOARD_ROOT')) { http_response_code(403); exit; } echo "<div class=\"roles-viewer\"><h3>Role Permissions</h3>"; $roles=RBAC::getRoles(); echo "<table class=\"data-table\"><thead><tr><th>Role</th><th>Level</th></tr></thead><tbody>"; foreach($roles as $r){echo "<tr><td>".UI::e(ucfirst($r))."</td><td>".UI::e($r)."</td></tr>";} echo "</tbody></table></div>"; 