Skip to content

fix(manager): drop APP_CONFIG from migration enum resource types#12935

Open
fregataa wants to merge 2 commits into
mainfrom
fix/rbac-migration-enum-resource-types
Open

fix(manager): drop APP_CONFIG from migration enum resource types#12935
fregataa wants to merge 2 commits into
mainfrom
fix/rbac-migration-enum-resource-types

Conversation

@fregataa

Copy link
Copy Markdown
Member

Summary

  • BA-6873 (chore(BA-6873): drop the dead APP_CONFIG RBAC entity type #12839) removed cls.APP_CONFIG from EntityType._resource_types() in the original common enum but missed the migration copy in manager/models/rbac_models/migration/enums.py.
  • The stale copy broke the enum-sync tests (_resource_types plus the three *_accessible_entity_types_* sets all derive from it).
  • Mirror the removal so the migration copy matches the original again.

Test plan

  • pants test tests/unit/manager/rbac/test_migration_enums.py — all 16 pass

BA-6873 removed cls.APP_CONFIG from EntityType._resource_types() in the
original common enum but missed the migration copy, breaking the
enum-sync tests. Mirror the removal so the copy matches the original.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 17, 2026 07:36
@fregataa
fregataa requested a review from a team as a code owner July 17, 2026 07:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added size:XS ~10 LoC comp:manager Related to Manager component labels Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:manager Related to Manager component size:XS ~10 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants