aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/world
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2013-09-02 11:20:05 +0200
committerSpp <spp@jorge.gr>2013-09-02 11:20:05 +0200
commitfced8a896e2c22e95bdbf853898671f10f746277 (patch)
treef3b3d3424b0e335685da7952d23b5f56caceb473 /sql/updates/world
parent225691e0ae3b3efe271bd13bcb613405835a5041 (diff)
Core/RBAC: Move event commands to RBAC (using individual permissions)
Diffstat (limited to 'sql/updates/world')
-rw-r--r--sql/updates/world/2013_09_02_05_world_command.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/2013_09_02_05_world_command.sql b/sql/updates/world/2013_09_02_05_world_command.sql
new file mode 100644
index 00000000000..db279dd6f60
--- /dev/null
+++ b/sql/updates/world/2013_09_02_05_world_command.sql
@@ -0,0 +1,9 @@
+/* cs_event.cpp */
+
+SET @id = 367;
+
+-- Update command table with new RBAC permissions
+UPDATE `command` SET `permission` = @id+0 WHERE `name` = 'event';
+UPDATE `command` SET `permission` = @id+1 WHERE `name` = 'event activelist';
+UPDATE `command` SET `permission` = @id+2 WHERE `name` = 'event start';
+UPDATE `command` SET `permission` = @id+3 WHERE `name` = 'event stop';