From 58c2b66e95270720f77efe8d90faa33822973049 Mon Sep 17 00:00:00 2001 From: Zharvek Date: Mon, 18 Aug 2014 22:06:06 +0100 Subject: 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 --- sql/updates/world/2014_08_14_02_world_command.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/2014_08_14_02_world_command.sql (limited to 'sql') 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.'); -- cgit v1.2.3