Core/RBAC: Move event commands to RBAC (using individual permissions)
This commit is contained in:
1 parent
225691e0ae
commit
fced8a896e
4 files changed
+39
-7
No files matched your search
@@ -0,0 +1,9 @@
|
||||
/* cs_event.cpp */
|
||||
|
||||
SET @id = 367;
|
||||
|
||||
-- Update command table with new RBAC permissions
|
||||
UPDATE `command` SET `permission` = @id+0 WHERE `name` = 'event';
|
||||
UPDATE `command` SET `permission` = @id+1 WHERE `name` = 'event activelist';
|
||||
UPDATE `command` SET `permission` = @id+2 WHERE `name` = 'event start';
|
||||
UPDATE `command` SET `permission` = @id+3 WHERE `name` = 'event stop';
|
||||
Reference in new issue
Block a user