feat: tambah role 'other' untuk guest user
- PermissionController: tambah 'other' ke daftar role - UserController validasi: in:admin,bk,wali_kelas,staff,other - User model: helper isOther() - Users view: filter dropdown + modal tambah user + label - Role 'other' bisa diatur hak aksesnya di menu Hak Akses Role
This commit is contained in:
@@ -19,7 +19,7 @@ class PermissionController extends Controller
|
||||
->get()
|
||||
->groupBy('group');
|
||||
|
||||
$roles = ['admin', 'bk', 'wali_kelas', 'staff'];
|
||||
$roles = ['admin', 'bk', 'wali_kelas', 'staff', 'other'];
|
||||
|
||||
$rolePermissions = [];
|
||||
foreach ($roles as $role) {
|
||||
|
||||
Reference in New Issue
Block a user