manual commit
This commit is contained in:
@@ -40,7 +40,7 @@ WHERE p_old.`key` IN (
|
||||
'users.lifecycle_restore'
|
||||
)
|
||||
ON DUPLICATE KEY UPDATE
|
||||
`role_id` = `role_id`;
|
||||
`created` = `role_permissions`.`created`;
|
||||
|
||||
-- Keep admin baseline complete for purge/restore actions.
|
||||
INSERT INTO `role_permissions` (`role_id`, `permission_id`, `created`)
|
||||
@@ -54,7 +54,7 @@ JOIN `permissions` p ON p.`key` IN (
|
||||
)
|
||||
WHERE r.`description` IN ('Admin', 'Administrator') OR r.`id` = 1
|
||||
ON DUPLICATE KEY UPDATE
|
||||
`role_id` = `role_id`;
|
||||
`created` = `role_permissions`.`created`;
|
||||
|
||||
-- Legacy keys are retained for history but deactivated to avoid future drift.
|
||||
UPDATE `permissions`
|
||||
|
||||
Reference in New Issue
Block a user