aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2019-07-17 15:59:52 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-16 21:20:38 +0100
commit093223d7b43b4890054477622343e0874a1998e4 (patch)
tree401caf5f1dbc10bc6241582898e344666cb1b54e /sql/updates
parent488d59aef3bf84e5f8235771f22c0b61bf51c84c (diff)
Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch.
(cherry picked from commit a82bbeb101d64b89d9918ff5cbe4866591f1101b)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/master/2019_07_17_00_auth.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2019_07_17_00_auth.sql b/sql/updates/auth/master/2019_07_17_00_auth.sql
new file mode 100644
index 00000000000..afcd8c6e57e
--- /dev/null
+++ b/sql/updates/auth/master/2019_07_17_00_auth.sql
@@ -0,0 +1,6 @@
+--
+DELETE FROM `rbac_permissions` WHERE `id`=879;
+INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (879, 'Command: debug poolstatus');
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=879;
+INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (196,879);