diff options
| author | Spp <spp@jorge.gr> | 2013-09-02 09:39:35 +0200 |
|---|---|---|
| committer | Spp <spp@jorge.gr> | 2013-09-02 10:01:34 +0200 |
| commit | 33d9da5060e4402f646a6592e089133e2414e38f (patch) | |
| tree | af414a129359859197dad328e330e57848855ae6 /sql/updates/world | |
| parent | 59667ee6069915613ca31947d539724dc4edf0a8 (diff) | |
Core/RBAC: Move cheat commands to RBAC (using individual permissions)
Diffstat (limited to 'sql/updates/world')
| -rw-r--r-- | sql/updates/world/2013_09_02_01_world_command.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/2013_09_02_01_world_command.sql b/sql/updates/world/2013_09_02_01_world_command.sql new file mode 100644 index 00000000000..aab76efa562 --- /dev/null +++ b/sql/updates/world/2013_09_02_01_world_command.sql @@ -0,0 +1,14 @@ +/* cs_cheat.cpp */ + +SET @id = 291; + +-- Update command table with new RBAC permissions +UPDATE `command` SET `permission` = @id+0 WHERE `name` = 'cheat'; +UPDATE `command` SET `permission` = @id+1 WHERE `name` = 'cheat casttime'; +UPDATE `command` SET `permission` = @id+2 WHERE `name` = 'cheat cooldown'; +UPDATE `command` SET `permission` = @id+3 WHERE `name` = 'cheat explore'; +UPDATE `command` SET `permission` = @id+4 WHERE `name` = 'cheat god'; +UPDATE `command` SET `permission` = @id+5 WHERE `name` = 'cheat power'; +UPDATE `command` SET `permission` = @id+6 WHERE `name` = 'cheat status'; +UPDATE `command` SET `permission` = @id+7 WHERE `name` = 'cheat taxi'; +UPDATE `command` SET `permission` = @id+8 WHERE `name` = 'cheat waterwalk'; |
