feat: Face ID (scan, register, liveness) + role baru KS/Waka/Ketua Tim + notifikasi WA ortu + scoping wali kelas + error pages premium

This commit is contained in:
Novy San87
2026-08-02 20:57:11 +07:00
parent 0a5f471854
commit 6e256661dd
76 changed files with 5335 additions and 888 deletions
@@ -19,7 +19,7 @@ class PermissionController extends Controller
->get()
->groupBy('group');
$roles = ['admin', 'bk', 'wali_kelas', 'staff', 'other'];
$roles = ['admin', 'bk', 'wali_kelas', 'staff', 'other', 'kepala_sekolah', 'waka_kesiswaan', 'ketua_tim'];
$rolePermissions = [];
foreach ($roles as $role) {
@@ -69,7 +69,7 @@ class PermissionController extends Controller
}
// Clear cache
foreach (['admin', 'bk', 'wali_kelas', 'staff', 'other'] as $role) {
foreach (['admin', 'bk', 'wali_kelas', 'staff', 'other', 'kepala_sekolah', 'waka_kesiswaan', 'ketua_tim'] as $role) {
Cache::forget('role_permissions:' . $role);
}