Core/RBAC: Move event commands to RBAC (using individual permissions)

This commit is contained in:
Spp committed 2013-09-02 11:20:05 +02:00
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';