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,7 +2,7 @@
|
||||
|
||||
//=================================================================
|
||||
//Software version SERVICE Tool====================================
|
||||
//=================================================================
|
||||
/*=================================================================
|
||||
$latest_version = getLatestVersion('EPSK01',$clientsecret) ?? '';
|
||||
|
||||
$service_tool_current_version = ($latest_version !='') ? $latest_version['version'] : '';
|
||||
@@ -11,7 +11,7 @@ $software_download_url = 'https://'.$_SERVER['SERVER_NAME'].'/firmware'.'/';
|
||||
|
||||
//getSoftware (legacy)
|
||||
$software_url = ($latest_version !='') ? $latest_version['source'] : 'https://'.$_SERVER['SERVER_NAME'].'/firmware'.'/'.$service_tool_current_filename;
|
||||
|
||||
*/
|
||||
//=================================================================
|
||||
//SERVICE Tool manual ===================================
|
||||
//=================================================================
|
||||
@@ -90,9 +90,9 @@ $init = array(
|
||||
"ManualURL"=> $manual_url,
|
||||
"termsURL"=> "https://emergency-plug.com/en/terms-and-conditions",
|
||||
"Application" => array(
|
||||
"current_version" => $service_tool_current_version,
|
||||
"current_filename" => $service_tool_current_filename,
|
||||
"location" => $software_download_url
|
||||
"current_version" => '',
|
||||
"current_filename" => '',
|
||||
"location" => ''
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user