aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorr4dish <ovitnez@gmail.com>2024-01-06 12:51:24 +0200
committerShauren <shauren.trinity@gmail.com>2024-01-06 23:43:59 +0100
commitc2831bafded61dcd417535a444c2dfbb454171bb (patch)
tree2b48e27af6cbd5d7c99f974c7022f5047f3d995a /sql/updates/auth
parent554fc8eee0bcbb70acd012c04f6f02197c6d949c (diff)
Scripts/Commands: Implemented .bg start and .bg stop commands.
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/3.3.5/2024_01_06_02_auth.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/auth/3.3.5/2024_01_06_02_auth.sql b/sql/updates/auth/3.3.5/2024_01_06_02_auth.sql
new file mode 100644
index 00000000000..2e3b0616aa3
--- /dev/null
+++ b/sql/updates/auth/3.3.5/2024_01_06_02_auth.sql
@@ -0,0 +1,10 @@
+--
+DELETE FROM `rbac_permissions` WHERE `id` IN (884, 885);
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
+(884, "Command: bg start"),
+(885, "Command: bg stop");
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId` IN (884, 885);
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
+(197, 884),
+(197, 885);