mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
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);
This commit is contained in:
committed by
Peter Keresztes Schmidt
parent
8ee92147a5
commit
f620befc37
@@ -521,8 +521,11 @@ INSERT INTO `rbac_linked_permissions` VALUES
|
||||
(195,49),
|
||||
(195,199),
|
||||
(196,7),
|
||||
(196,200),
|
||||
(196,201),
|
||||
(196,202),
|
||||
(196,203),
|
||||
(196,204),
|
||||
(196,205),
|
||||
(196,206),
|
||||
(196,226),
|
||||
(196,227),
|
||||
(196,230),
|
||||
|
||||
5
sql/updates/world/3.3.5/2021_08_14_00_world.sql
Normal file
5
sql/updates/world/3.3.5/2021_08_14_00_world.sql
Normal file
@@ -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';
|
||||
Reference in New Issue
Block a user