diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-11-11 22:41:05 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2017-11-11 22:41:05 +0100 |
| commit | bf0ae32d189d4579920e027f9d2dbfacc5552df3 (patch) | |
| tree | e08f1ed944c1d96daf3b6106144dc1965d32fd56 /sql/updates/auth/master | |
| parent | d947ba42927d75ccd7293bba65feee2ac6bbf46c (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.sql | 7 |
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); |
