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 <[email protected]>
This commit is contained in:
Zharvek
2014-08-18 22:06:06 +01:00
committed by DDuarte
parent 377f385c81
commit 58c2b66e95
2 changed files with 36 additions and 28 deletions
@@ -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.');