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 f620befc37)
This commit is contained in:
Carbenium
2021-06-26 22:47:26 +02:00
committed by Shauren
parent 3c37dddeec
commit b3b6e2715e
4 changed files with 125 additions and 201 deletions

View File

@@ -884,8 +884,11 @@ INSERT INTO `rbac_linked_permissions` VALUES
(195,199),
(196,7),
(196,10),
(196,200),
(196,201),
(196,202),
(196,203),
(196,204),
(196,205),
(196,206),
(196,208),
(196,212),
(196,213),