Skip to content

Conversation

@jnovinger
Copy link
Member

Fixes: #20759

Modified the ObjectPermissionForm to use optgroups for organizing object types by application. This shortens the display names (e.g., "permission" instead of "Authentication and Authorization | permission") while maintaining clear organization through visual grouping.

Changes:

  • Updated get_object_types_choices() to return nested optgroup structure
  • Changed AvailableOptions and SelectedOptions widgets to handle optgroups
  • Modified TypeScript moveOptions to preserve optgroup structure
  • Added hover text showing full model names

Modified the ObjectPermissionForm to use optgroups for organizing
object types by application. This shortens the display names (e.g.,
"permission" instead of "Authentication and Authorization | permission")
while maintaining clear organization through visual grouping.

Changes:
- Updated get_object_types_choices() to return nested optgroup structure
- Enhanced AvailableOptions and SelectedOptions widgets to handle optgroups
- Modified TypeScript moveOptions to preserve optgroup structure
- Added hover text showing full model names
- Styled optgroups with bold, padded labels
@jnovinger jnovinger requested review from a team and jeremystretch and removed request for a team December 5, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to see full object type names when creating new permissions

2 participants