aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/2013_09_10_17_world_command.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/2013_09_10_17_world_command.sql b/sql/updates/world/2013_09_10_17_world_command.sql
new file mode 100644
index 00000000000..b6d859d5b45
--- /dev/null
+++ b/sql/updates/world/2013_09_10_17_world_command.sql
@@ -0,0 +1,16 @@
+-- Update command table with new RBAC permissions
+UPDATE `command` SET `permission` = 201 WHERE `name` = 'rbac account';
+UPDATE `command` SET `permission` = 202 WHERE `name` = 'rbac account group';
+UPDATE `command` SET `permission` = 203 WHERE `name` = 'rbac account group add';
+UPDATE `command` SET `permission` = 204 WHERE `name` = 'rbac account group remove';
+UPDATE `command` SET `permission` = 205 WHERE `name` = 'rbac account role';
+UPDATE `command` SET `permission` = 206 WHERE `name` = 'rbac account role grant';
+UPDATE `command` SET `permission` = 207 WHERE `name` = 'rbac account role deny';
+UPDATE `command` SET `permission` = 208 WHERE `name` = 'rbac account role revoke';
+UPDATE `command` SET `permission` = 209 WHERE `name` = 'rbac account permission';
+UPDATE `command` SET `permission` = 210 WHERE `name` = 'rbac account permission grant';
+UPDATE `command` SET `permission` = 211 WHERE `name` = 'rbac account permission deny';
+UPDATE `command` SET `permission` = 212 WHERE `name` = 'rbac account permission revoke';
+UPDATE `command` SET `permission` = 214 WHERE `name` = 'rbac account list groups';
+UPDATE `command` SET `permission` = 215 WHERE `name` = 'rbac account list roles';
+UPDATE `command` SET `permission` = 216 WHERE `name` = 'rbac account list permissions';