Skip to content

Propagate app group and role prefixes#406

Open
eguerrant wants to merge 4 commits into
mainfrom
propagate_group_prefixes
Open

Propagate app group and role prefixes#406
eguerrant wants to merge 4 commits into
mainfrom
propagate_group_prefixes

Conversation

@eguerrant

@eguerrant eguerrant commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Previously, reserved app group and role prefixes (by default 'App-' and 'Role-' were set in the back end but not propagated to the front end, which could lead front end group name validation to be incorrect if those values were changed from the default ones. Added these values to config so that they are set in one place and used everywhere

I think this will require people to update their override files whether or not they are using non-default name prefixes, might be worth setting up a new release after this merges (since group requests have also been added recently) and noting this as a breaking change

@eguerrant eguerrant marked this pull request as ready for review April 1, 2026 23:47
Comment thread api/models/core_models.py Outdated
APP_NAME_GROUP_NAME_SEPARATOR = "-"
APP_GROUP_NAME_PREFIX: ClassVar[str] # set from config at module load, see bottom of file
APP_NAME_GROUP_NAME_SEPARATOR: ClassVar[str] # set from config at module load, see bottom of file
APP_OWNERS_GROUP_NAME_SUFFIX = "Owners"

@elaynelemos elaynelemos Apr 6, 2026

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.

Hey @eguerrant! I've addded issue #382 (and PR #388) for this customization. Is it possible to also support custom APP_OWNERS_GROUP_NAME_SUFFIX, OKTA_GROUP_NAME_PREFIX, and configurable Okta group sync filter?

barborico
barborico previously approved these changes Apr 9, 2026
Comment thread config/config.default.json
@barborico

Copy link
Copy Markdown
Contributor

I think this will require people to update their override files whether or not they are using non-default name prefixes, might be worth setting up a new release after this merges (since group requests have also been added recently) and noting this as a breaking change

Why is this? Do the overrides not merge with the defaults provided in config/config.default.json?

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.

4 participants