From ca08f74f47c9ac336477d753c8ec653e6407403f Mon Sep 17 00:00:00 2001 From: Louis Ouellet Date: Wed, 1 Oct 2025 11:41:31 -0400 Subject: [PATCH 1/2] General: Version bumped to v0.0.17 --- VERSION | 2 +- info.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 4cb8007..9e2dabb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.0.16 +v0.0.17 diff --git a/info.cfg b/info.cfg index ce73366..719b303 100644 --- a/info.cfg +++ b/info.cfg @@ -5,7 +5,7 @@ "author": "LaswitchTech", "email": "support@laswitchtech.com", "date": "2025-10-01", - "version": "v0.0.16", + "version": "v0.0.17", "tags": "users, management, authentication, roles, permissions", "description": "This plugin provides user management capabilities, including authentication, role-based access control, and user profile management. It allows for the creation, modification, and deletion of users, as well as the assignment of roles and permissions to control access to various parts of the system.", "repository": "https://github.com/LaswitchTech/core-plugin-users", From 6b9f8cc90759a29c41886882fc6b8205532971fe Mon Sep 17 00:00:00 2001 From: Louis Ouellet Date: Tue, 7 Oct 2025 15:11:24 -0400 Subject: [PATCH 2/2] General: Updated the routing. --- View/index.php | 4 ++-- routes.cfg | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/View/index.php b/View/index.php index 4ee2f2c..ce78674 100644 --- a/View/index.php +++ b/View/index.php @@ -9,14 +9,14 @@ {key: 'isArchived', operator: '<>', value: 1}, ], dblclick: function(event, table, dt, node, data){ - window.location.href = "/plugin/users/details?id=" + data.id + "&name=" + data.username; + window.location.href = "/security/users/details?id=" + data.id + "&name=" + data.username; }, actions: { details:{ label:'Details', icon:'eye', action:function(event, table, dt, node, row, data){ - window.location.href = "/plugin/users/details?id=" + data.id + "&name=" + data.username; + window.location.href = "/security/users/details?id=" + data.id + "&name=" + data.username; } }, reset:{ diff --git a/routes.cfg b/routes.cfg index 57cfdd2..ed8bf85 100644 --- a/routes.cfg +++ b/routes.cfg @@ -1,5 +1,5 @@ { - "/plugin/users": { + "/security/users": { "template": "panel.php", "view": "index.php", "public": false, @@ -9,21 +9,21 @@ "security" ], "level": 1, - "parent": "/plugin/security", + "parent": "/security", "label": "Users", "icon": "person", "color": null }, - "/plugin/users/details": { + "/security/users/details": { "template": "panel.php", "view": "details.php", "public": false, "action": null, "location": [], "level": 0, - "parent": null, + "parent": "/security/users", "label": "User Details", "icon": "person", "color": null } -} \ No newline at end of file +}