You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flatten various Change Request related permissions to only use Change Request permissions; reassigns existing Change Request related permissions for Users and Roles to use Change Request equivalents
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The migration bodies are reversed, and the permission backfill omits API accounts and soft-deleted users, leaving obsolete permissions assignable and former grants without equivalents under the activated policies.
Consolidates Change Request status and type permissions under Change Request permissions, simplifying access management while migrating existing user and role grants.
Changes:
Adds a permission backfill and feature-flagged policy transition.
Introduces a migration intended to remove obsolete permissions and updates permission descriptions.
Updates access tests and records post-deployment cleanup work.
Every affected fixture receives all seven legacy actions, so this test would also pass if the migration granted every Change Request action to someone with only a legacy view permission. Add single-permission dataset cases for users and roles under each source prefix, and assert the exact newly granted permissions, including the absence of unrelated actions. This verifies that consolidation preserves action-level restrictions rather than escalating access.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change Type | ChoreCleanup and refactors that improve performance or the codebase that do not largely affect logic.Cleanup Task
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket(s) or GitHub Issue
Technical Description
Flatten various Change Request related permissions to only use Change Request permissions; reassigns existing Change Request related permissions for Users and Roles to use Change Request equivalents
Any deployment steps required?
No
Cleanup Tasks
.cleanup-tasks/2026_11_06_change_request_permission_compression.md
Before contributing and submitting this PR, make sure you have Read, agree, and are compliant with the contributing guidelines.