aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2018-08-30 20:17:27 +0200
committerShauren <shauren.trinity@gmail.com>2021-10-23 19:08:53 +0200
commit82ecd32d9c63a22fe2f2076ce35b33cf2db53fd8 (patch)
treee9db322a3265d990e49bee3e0a25ea5ffce820f5 /sql/updates/auth
parent2342361746ef9fbb828109da4bc8c05f07e87c28 (diff)
Scripts/Commands: New command ".go instance". Goes to an instance.
(cherry picked from commit 6a0870a9993f5a1016439644d4a9ab3fd89277e5)
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/master/2018_08_30_00_auth.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2018_08_30_00_auth.sql b/sql/updates/auth/master/2018_08_30_00_auth.sql
new file mode 100644
index 00000000000..1ee1f8d7ee4
--- /dev/null
+++ b/sql/updates/auth/master/2018_08_30_00_auth.sql
@@ -0,0 +1,9 @@
+--
+DELETE FROM `rbac_permissions` WHERE `id`=874;
+INSERT INTO `rbac_permissions` (`id`,`name`) VALUES
+(874, "Command: go instance");
+
+SET @parent := (SELECT `id` FROM `rbac_linked_permissions` WHERE `linkedId`=852);
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=874;
+INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES
+(@parent, 874);