aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth/master
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-11-11 22:41:05 +0100
committerShauren <shauren.trinity@gmail.com>2017-11-11 22:41:05 +0100
commitbf0ae32d189d4579920e027f9d2dbfacc5552df3 (patch)
treee08f1ed944c1d96daf3b6106144dc1965d32fd56 /sql/updates/auth/master
parentd947ba42927d75ccd7293bba65feee2ac6bbf46c (diff)
Core/Commands: Added .modify power command allowing to change any power as long as player class can use it
* Power names are taken from PowerType.db2 (lowercase, using _ is optional) Closes #20833
Diffstat (limited to 'sql/updates/auth/master')
-rw-r--r--sql/updates/auth/master/2017_11_11_01_auth.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2017_11_11_01_auth.sql b/sql/updates/auth/master/2017_11_11_01_auth.sql
new file mode 100644
index 00000000000..e046cca6bdc
--- /dev/null
+++ b/sql/updates/auth/master/2017_11_11_01_auth.sql
@@ -0,0 +1,7 @@
+--
+DELETE FROM `rbac_permissions` WHERE `id`=867;
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
+(867, 'Command: modify power');
+
+DELETE FROM `rbac_linked_permissions` WHERE `id`=198 AND `linkedId`=867;
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES (198, 867);