Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch.

This commit is contained in:
Treeston
2019-07-17 15:59:52 +02:00
parent 9d2af284a5
commit a82bbeb101
3 changed files with 12 additions and 2 deletions

View File

@@ -775,6 +775,7 @@ INSERT INTO `rbac_linked_permissions` VALUES
(196,876),
(196,877),
(196,878),
(196,879),
(197,232),
(197,236),
(197,237),
@@ -1658,7 +1659,8 @@ INSERT INTO `rbac_permissions` VALUES
(875,'Command: lookup map id'),
(876,'Command: lookup item id'),
(877,'Command: lookup quest id'),
(878,'Command: debug questreset');
(878,'Command: debug questreset'),
(879,'Command: debug poolstatus');
/*!40000 ALTER TABLE `rbac_permissions` ENABLE KEYS */;
UNLOCK TABLES;
@@ -1797,7 +1799,8 @@ INSERT INTO `updates` VALUES
('2019_06_16_00_auth.sql','B14AED4D3387B56FF8C8161D3671750AEEAE0F2E','ARCHIVED','2019-06-16 00:00:00',0),
('2019_06_21_00_auth.sql','C519239830204B68E710F698BC0C9E89B6D5FD24','ARCHIVED','2019-06-21 00:00:00',0),
('2019_07_15_00_auth.sql','64B491CD197A4466D7F739D67DD30C9502FF393A','ARCHIVED','2019-07-15 00:00:00',0),
('2019_07_16_00_auth.sql','36CB53A9EBD64BFDCF7030083E36E534F1753773','ARCHIVED','2019-07-16 00:00:00',0);
('2019_07_16_00_auth.sql','36CB53A9EBD64BFDCF7030083E36E534F1753773','ARCHIVED','2019-07-16 00:00:00',0),
('2019_07_17_00_auth.sql','4F983F039904894ACC483BE885676C5F0A18F06B','ARCHIVED','2019-07-17 00:00:00',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;

View File

@@ -0,0 +1,6 @@
--
DELETE FROM `rbac_permissions` WHERE `id`=879;
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (879, 'Command: debug poolstatus');
DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=879;
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (196,879);

View File

@@ -776,6 +776,7 @@ enum RBACPermissions
RBAC_PERM_COMMAND_LOOKUP_ITEM_ID = 876,
RBAC_PERM_COMMAND_LOOKUP_QUEST_ID = 877,
RBAC_PERM_COMMAND_DEBUG_QUESTRESET = 878,
RBAC_PERM_COMMAND_DEBUG_POOLSTATUS = 879,
//
// IF YOU ADD NEW PERMISSIONS, ADD THEM IN MASTER BRANCH AS WELL!
//