diff options
| author | Spp <spp@jorge.gr> | 2013-09-30 11:55:51 +0200 |
|---|---|---|
| committer | Spp <spp@jorge.gr> | 2013-09-30 11:55:51 +0200 |
| commit | 0c0ff983442f147b308a3d06a460f1eb49f53993 (patch) | |
| tree | d14960005c4fc9320185dab7de2eccf75318053a /sql/updates | |
| parent | 5c95431df2e68e79b21ec0d74260555a0114b212 (diff) | |
Core/RBAC: Fix errors in RBAC sql related to ea2fe0217d
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/world/2013_09_30_03_world_misc.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/2013_09_30_03_world_misc.sql b/sql/updates/world/2013_09_30_03_world_misc.sql new file mode 100644 index 00000000000..579958f111a --- /dev/null +++ b/sql/updates/world/2013_09_30_03_world_misc.sql @@ -0,0 +1,7 @@ +DELETE FROM `command` WHERE `permission` BETWEEN 200 AND 216; +INSERT INTO `command` (`name`, `permission`, `help`) VALUES +('rbac account list', 202, 'Syntax: rbac account list [$account]\n\nView permissions of selected player or given account\nNote: Only those that affect current realm'), +('rbac account grant', 203, 'Syntax: rbac account grant [$account] #id [#realmId]\n\nGrant a permission to selected player or given account.\n\n#reamID may be -1 for all realms.'), +('rbac account deny', 204, 'Syntax: rbac account deny [$account] #id [#realmId]\n\nDeny a permission to selected player or given account.\n\n#reamID may be -1 for all realms.'), +('rbac account revoke', 205, 'Syntax: rbac account revoke [$account] #id\n\nRemove a permission from an account\n\nNote: Removes the permission from granted or denied permissions'), +('rbac list', 206, 'Syntax: rbac list [$id]\n\nView list of all permissions. If $id is given will show only info for that permission.'); |
