feat: Implement role-based dashboards, user management CRUD, and integration request authorization policies.
This commit is contained in:
@@ -56,7 +56,7 @@ class ServiceTaskManager
|
||||
]);
|
||||
|
||||
// Notify RH that a service has completed their task
|
||||
$rhUsers = \App\Models\User::role('RH')->get();
|
||||
$rhUsers = \App\Models\User::permission('validate rh')->get();
|
||||
\Illuminate\Support\Facades\Notification::send($rhUsers, new \App\Notifications\ServiceTaskValidatedNotification($task));
|
||||
|
||||
// Trigger check on the parent integration request
|
||||
|
||||
Reference in New Issue
Block a user