Implement RBAC migration and role management enhancements
- Added AJAX functionality to fetch role permissions for copying. - Introduced system role management with permission checks for updates. - Implemented role deletion with confirmation modal and backend handling. - Enhanced user role assignment migration scripts to transition from legacy profiles to RBAC. - Created SQL migration scripts for user roles and permissions mapping. - Updated user interface to support new role management features including copy permissions and system role indicators.
This commit is contained in:
2
api.php
2
api.php
@@ -134,7 +134,7 @@ if($is_jwt_valid && str_contains($version, 'v')) {
|
||||
//------------------------------------------
|
||||
// Check for maintenance mode, exclude debug user
|
||||
//------------------------------------------
|
||||
if(maintenance_mode == false|| debug_id == $user_data['id']){
|
||||
if(maintenance_mode == false || debug_id == $user_data['id']){
|
||||
|
||||
//------------------------------------------
|
||||
// Build up version and check if file is available
|
||||
|
||||
Reference in New Issue
Block a user