chore(DB): import pending files

Referenced commit(s): 779331fc4b
This commit is contained in:
github-actions[bot]
2026-05-01 12:20:42 +00:00
parent 779331fc4b
commit 866bcc1b62
3 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
-- DB update 2026_04_30_03 -> 2026_05_01_00
-- RBAC Language strings (uses {} format placeholders for Acore::StringFormat)
DELETE FROM `acore_string` WHERE `entry` BETWEEN 63 AND 79;
INSERT INTO `acore_string` (`entry`, `content_default`) VALUES
(63, 'Wrong parameter id: {}, does not exist'),
(64, 'Wrong parameter realmId: {}'),
(65, 'Account {} ({}) granted permissions:'),
(66, 'Account {} ({}) denied permissions:'),
(67, 'Account {} ({}) inherited permissions by sec level {} ({}):'),
(68, 'Permissions:'),
(69, 'Linked permissions:'),
(70, 'Empty List'),
(71, '- {} ({})'),
(72, 'Could not grant permission {} ({}) realmId {}. Account {} ({}) already has that permission'),
(73, 'Could not grant permission {} ({}) realmId {}. Account {} ({}) has that permission in deny list'),
(74, 'Granted permission {} ({}) realmId {} to account {} ({})'),
(75, 'Could not deny permission {} ({}) realmId {}. Account {} ({}) already has that permission'),
(76, 'Could not deny permission {} ({}) realmId {}. Account {} ({}) has that permission in grant list'),
(77, 'Denied permission {} ({}) realmId {} to account {} ({})'),
(78, 'Revoked permission {} ({}) realmId {} to account {} ({})'),
(79, 'Could not revoke permission {} ({}) realmId {}. Account {} ({}) does not have that permission');

View File

@@ -0,0 +1,13 @@
-- DB update 2026_05_01_00 -> 2026_05_01_01
-- RBAC command help strings
DELETE FROM `acore_string` WHERE `entry` BETWEEN 83 AND 86;
INSERT INTO `acore_string` (`entry`, `content_default`) VALUES
(83, 'Syntax: .rbac account list $account\nList granted, denied, and inherited permissions for the account.'),
(84, 'Syntax: .rbac account grant $account $permissionId [$realmId]\nGrant a permission to the account. Optional realmId (-1 = all realms).'),
(85, 'Syntax: .rbac account deny $account $permissionId [$realmId]\nDeny a permission for the account. Optional realmId (-1 = all realms).'),
(86, 'Syntax: .rbac account revoke $account $permissionId [$realmId]\nRevoke a previously granted or denied permission. Optional realmId (-1 = all realms).');
-- Update inherited permissions header to include sec level name
DELETE FROM `acore_string` WHERE `entry` = 67;
INSERT INTO `acore_string` (`entry`, `content_default`) VALUES
(67, 'Account {} ({}) inherited permissions by sec level {} ({}):');