From 92f6989db65b0a24636573ce99bc0f295f26551e Mon Sep 17 00:00:00 2001 From: ilham_gmail Date: Thu, 11 Jun 2026 18:42:45 +0700 Subject: [PATCH] Remove Admin Mode UI floating panel and improve API error handling --- init-db.sql | 5 +++++ tugas-spbu/index.html | 17 ++++------------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/init-db.sql b/init-db.sql index cf6948d..547187a 100644 --- a/init-db.sql +++ b/init-db.sql @@ -158,3 +158,8 @@ CREATE TABLE `tanah` ( `geom` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- Grant privileges on both databases to webgis_user +GRANT ALL PRIVILEGES ON poverty_db.* TO 'webgis_user'@'%'; +GRANT ALL PRIVILEGES ON spbu_db.* TO 'webgis_user'@'%'; +FLUSH PRIVILEGES; diff --git a/tugas-spbu/index.html b/tugas-spbu/index.html index 4bba38d..f0db3a6 100644 --- a/tugas-spbu/index.html +++ b/tugas-spbu/index.html @@ -48,11 +48,6 @@ -
- Guest Mode - -
-