Add user role management functionality with CRUD operations and permissions handling

- Created user_role.php for viewing and editing user roles and their permissions.
- Implemented inline editing for role details and permissions.
- Added user_role_manage.php for creating and managing user roles.
- Introduced user_roles.php for listing all user roles with pagination and filtering options.
- Integrated API calls for fetching and updating role data and permissions.
- Enhanced user interface with success messages and navigation controls.
This commit is contained in:
“VeLiTi”
2026-01-19 11:16:54 +01:00
parent 3db13b9ebf
commit 782050c3ca
35 changed files with 4071 additions and 370 deletions

View File

@@ -176,8 +176,8 @@ $main_menu = [
],
"reporting" => [
"main_menu" => [
"url" => "report_build",
"selected" => "report_build",
"url" => "report_builder",
"selected" => "report_builder",
"icon" => "fa-solid fa-magnifying-glass-chart",
"name" => "menu_report_main"
],
@@ -293,6 +293,18 @@ $main_menu = [
"icon" => "fas fa-tachometer-alt",
"name" => "menu_maintenance"
],
"Access_elements" => [
"url" => "access_elements",
"selected" => "access_elements",
"icon" => "fas fa-tools",
"name" => "menu_access_elements"
],
"user_roles" => [
"url" => "user_roles",
"selected" => "user_roles",
"icon" => "fas fa-tools",
"name" => "menu_user_roles"
],
"profiles" => [
"url" => "profiles",
"selected" => "profiles",