aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorNyeriah <sarah.trysan@live.com>2014-10-18 22:03:29 +0100
committerDDuarte <dnpd.dd@gmail.com>2014-10-18 22:05:04 +0100
commit2f016098c2f2fed9ad02d2600f4fa0da25912bd5 (patch)
tree8ec37b5dc65053a77177cc238616151ca226ad30 /sql/updates/auth
parent98e1e068305001613c45f00c1dbbd8e9238ffce9 (diff)
Scripts/Commands: Implement commands to set and get boss states during run time
Closes #13186
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/2014_10_18_00_auth.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/auth/2014_10_18_00_auth.sql b/sql/updates/auth/2014_10_18_00_auth.sql
new file mode 100644
index 00000000000..fbae94a4195
--- /dev/null
+++ b/sql/updates/auth/2014_10_18_00_auth.sql
@@ -0,0 +1,9 @@
+DELETE FROM `rbac_permissions` WHERE `id` IN (795, 796);
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
+(795, 'Command: .instance setbossstate'),
+(796, 'Command: .instance getbossstate');
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId` IN (795, 796);
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
+(192, 795),
+(192, 796);