Add role and permission management with enhanced access control
This update introduces functionalities for managing roles, permissions, and access control across departments. Key additions include methods for filtering, restricting, and handling user permissions, as well as new APIs for assigning/removing permissions to/from roles. Access to resources like orders, bookings, and plate scans is now securely tied to department-specific permissions.
This commit is contained in:
@@ -195,7 +195,8 @@ class usersRoute
|
||||
);
|
||||
},
|
||||
[
|
||||
'list_public_employees' => 'List all public employees'
|
||||
'list_public_employees' => 'List all public employees',
|
||||
'employee_public_data' => 'When this permission is set, the user is PUBLICLY visible on the employee login page'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user