diff options
author | Zharvek <zharvek@archaicbinary.net> | 2014-08-18 22:06:06 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2014-08-18 22:06:06 +0100 |
commit | 58c2b66e95270720f77efe8d90faa33822973049 (patch) | |
tree | 15c65f4356efbb50365ddaa5baa334915d4cd700 /sql | |
parent | 377f385c8138d37cfca2f55f80ac34c4839ab3a7 (diff) |
Core/RBAC: Fix RBAC permissions
This commit adds three missing commands to the world.commands table. The RBAC.h file is updated to the correct IDs from the auth.rbac_permissions table and the world.commands table. The RBAC.h file also had to be reordered to keep it clean.
Closes #12854
Signed-off-by: DDuarte <dnpd.dd@gmail.com>
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/2014_08_14_02_world_command.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2014_08_14_02_world_command.sql b/sql/updates/world/2014_08_14_02_world_command.sql new file mode 100644 index 00000000000..0a3b44b1991 --- /dev/null +++ b/sql/updates/world/2014_08_14_02_world_command.sql @@ -0,0 +1,8 @@ +DELETE FROM `command` WHERE `permission`='683'; +DELETE FROM `command` WHERE `permission`='684'; +DELETE FROM `command` WHERE `permission`='705'; + +INSERT INTO `command` (`name`, `permission`, `help`) VALUES +('reload reputation_reward_rate', 683, 'Syntax: .reload reputation_reward_rate\r\nReload reputation_reward_rate table.'), +('reload reputation_spillover_template', 684, 'Syntax: .reload reputation_spillover_template\r\nReload reputation_spillover_template table.'), +('reload warden_action', 705, 'Syntax: .reload warden_action\r\nReload warden_action.'); |