diff options
| author | Carbenium <carbenium@outlook.com> | 2021-06-26 22:47:26 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-12 23:00:17 +0100 |
| commit | b3b6e2715eb2a75805b7d879a1bef1074c085143 (patch) | |
| tree | 170e4b182e3fcf4083375308cfcb1227f177f5f9 /sql/updates | |
| parent | 3c37dddeecd15c2bc7970b5d15199b1a03e5e18c (diff) | |
Scripts/Commands: Convert rbac commands to new system
Note: To enable rbac commands for administrators permissions 202-206 have to be linked to permission 196.
Sample SQL for auth DB:
INSERT INTO `rbac_linked_permissions` VALUES (196, 202), (196, 203), (196, 204), (196, 205), (196, 206);
(cherry picked from commit f620befc37fd8a4aed917e1ebba6f268c44a0a99)
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/world/master/2022_03_12_21_world_2021_08_14_00_world.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_12_21_world_2021_08_14_00_world.sql b/sql/updates/world/master/2022_03_12_21_world_2021_08_14_00_world.sql new file mode 100644 index 00000000000..10b53a58095 --- /dev/null +++ b/sql/updates/world/master/2022_03_12_21_world_2021_08_14_00_world.sql @@ -0,0 +1,5 @@ +UPDATE `command` SET help='Syntax: rbac account revoke [$account] #id [#realmId] + +Remove a permission from an account + +Note: Removes the permission from granted or denied permissions' WHERE name='rbac account revoke'; |
