aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorHeihachi <gamehacker953@gmail.com>2014-11-11 00:45:30 +0000
committerDDuarte <dnpd.dd@gmail.com>2014-11-11 00:45:30 +0000
commit3e03e546d3106bf8930e30ab9c2008b0e696e125 (patch)
treedb4aa605589d2adb57c0fc385aba05003ee8be79 /sql/updates/auth
parentfd0b96178174e624510a10f5bc27b60af406d901 (diff)
Scripts/Commands: mod xp command
Closes #13476
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/2014_11_10_01_auth.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/auth/2014_11_10_01_auth.sql b/sql/updates/auth/2014_11_10_01_auth.sql
new file mode 100644
index 00000000000..0f89140ecf4
--- /dev/null
+++ b/sql/updates/auth/2014_11_10_01_auth.sql
@@ -0,0 +1,9 @@
+/* add rbac permissions to new commands */
+DELETE FROM `rbac_permissions` WHERE `id`=798;
+INSERT INTO `rbac_permissions` (`id`,`name`) VALUES
+(798, 'Command: .mod xp');
+
+DELETE FROM `rbac_linked_permissions` WHERE `id`=798;
+INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES
+/* add mod xp to gms */
+(194, 798);