feat: add SUPERADMIN role to access overview hierarchy table
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-03-13 18:36:09 +01:00
parent e76786deb7
commit ace9c15cd7

View File

@ -15,6 +15,7 @@
.access-matrix tr.row-highlight { background: #eff6ff; } .access-matrix tr.row-highlight { background: #eff6ff; }
.access-matrix tr.row-separator td { background: #1e40af; color: white; font-weight: 600; text-align: left; padding: 8px; } .access-matrix tr.row-separator td { background: #1e40af; color: white; font-weight: 600; text-align: left; padding: 8px; }
.role-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; } .role-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.role-SUPERADMIN { background: #fce7f3; color: #9d174d; }
.role-ADMIN { background: #fee2e2; color: #991b1b; } .role-ADMIN { background: #fee2e2; color: #991b1b; }
.role-OFFICE_MANAGER { background: #fef3c7; color: #92400e; } .role-OFFICE_MANAGER { background: #fef3c7; color: #92400e; }
.role-MANAGER { background: #dbeafe; color: #1e40af; } .role-MANAGER { background: #dbeafe; color: #1e40af; }
@ -52,6 +53,12 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<td><span class="role-badge role-SUPERADMIN">SUPERADMIN</span></td>
<td style="text-align:center;">200</td>
<td style="text-align:left;">Superadministrator — pelne prawa + audyty techniczne</td>
<td>{{ role_counts.get('SUPERADMIN', 0) }}</td>
</tr>
<tr> <tr>
<td><span class="role-badge role-ADMIN">ADMIN</span></td> <td><span class="role-badge role-ADMIN">ADMIN</span></td>
<td style="text-align:center;">100</td> <td style="text-align:center;">100</td>