From 654b5900330f301f2beab7a543ba52ab7ccec85e Mon Sep 17 00:00:00 2001 From: wrongecho Date: Sat, 28 Sep 2024 20:04:33 +0100 Subject: [PATCH 1/2] More enforcing user permissions --- client_asset_edit_modal.php | 2 +- client_asset_interface_edit_modal.php | 2 +- client_certificate_edit_modal.php | 2 +- client_domain_edit_modal.php | 2 +- client_location_edit_modal.php | 2 +- client_login_edit_modal.php | 2 +- client_logins.php | 34 ++++++++++--------- client_network_edit_modal.php | 2 +- client_rack_edit_modal.php | 2 +- client_service_edit_modal.php | 2 +- client_software_edit_modal.php | 2 +- invoice_edit_modal.php | 2 +- post/location.php | 4 +-- ...locations_model.php => location_model.php} | 0 post/login.php | 31 ++++++++++------- ...lient_logins_model.php => login_model.php} | 1 + post/network.php | 27 ++------------- post/network_model.php | 13 +++++++ post/quote.php | 32 ++++++++++++++++- quote.php | 32 ++++++++++------- quote_edit_modal.php | 2 +- quotes.php | 28 +++++++++------ recurring_ticket_edit_modal.php | 2 +- ticket_edit_modal.php | 2 +- 24 files changed, 136 insertions(+), 94 deletions(-) rename post/{client_locations_model.php => location_model.php} (100%) rename post/{client_logins_model.php => login_model.php} (84%) create mode 100644 post/network_model.php diff --git a/client_asset_edit_modal.php b/client_asset_edit_modal.php index 1d009d3a1..76645826f 100644 --- a/client_asset_edit_modal.php +++ b/client_asset_edit_modal.php @@ -37,7 +37,7 @@
-
+
>
diff --git a/client_asset_interface_edit_modal.php b/client_asset_interface_edit_modal.php index 301001a2d..62aef022b 100644 --- a/client_asset_interface_edit_modal.php +++ b/client_asset_interface_edit_modal.php @@ -12,7 +12,7 @@ -