feat: Implement role-based dashboards, user management CRUD, and integration request authorization policies.
This commit is contained in:
@@ -20,7 +20,7 @@ class DashboardController extends Controller
|
||||
return $this->adminDashboard();
|
||||
}
|
||||
|
||||
if ($user->hasRole('RH')) {
|
||||
if ($user->can('validate rh')) {
|
||||
return $this->rhDashboard();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user