aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2021-06-26 22:47:26 +0200
committerPeter Keresztes Schmidt <carbenium@outlook.com>2021-08-14 12:50:18 +0200
commitf620befc37fd8a4aed917e1ebba6f268c44a0a99 (patch)
tree19ae6e890e936157a9547399f658559efa1a2dbb /sql/updates
parent8ee92147a5435600992d7269b98edd5d36cd8924 (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);
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/3.3.5/2021_08_14_00_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_08_14_00_world.sql b/sql/updates/world/3.3.5/2021_08_14_00_world.sql
new file mode 100644
index 00000000000..10b53a58095
--- /dev/null
+++ b/sql/updates/world/3.3.5/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';