fix: switch admin loa perms to hiring manager role
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
parent
9750e2cfcd
commit
501399ee2e
@ -124,7 +124,7 @@ class PermissionSeeder extends Seeder
|
|||||||
'applications.vote'
|
'applications.vote'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$hiringManager->givePermissionTo('appointments.*', 'applications.*', 'admin.hiring.*');
|
$hiringManager->givePermissionTo('admin.viewAllAbsences', 'admin.manageAbsences', 'appointments.*', 'applications.*', 'admin.hiring.*');
|
||||||
|
|
||||||
$admin->givePermissionTo([
|
$admin->givePermissionTo([
|
||||||
'appointments.*',
|
'appointments.*',
|
||||||
@ -134,8 +134,6 @@ class PermissionSeeder extends Seeder
|
|||||||
'admin.notificationsettings.*',
|
'admin.notificationsettings.*',
|
||||||
'profiles.view.others',
|
'profiles.view.others',
|
||||||
'profiles.edit.others',
|
'profiles.edit.others',
|
||||||
'admin.viewAllAbsences',
|
|
||||||
'admin.manageAbsences',
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user