-
Notifications
You must be signed in to change notification settings - Fork 853
[merge ee first] fix: alining group name normalization between scim and igroup api #7325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Claude finished @alpetric's task in 2m 17s —— View job PR Review Complete ✅Tasks
SummaryThis PR addresses group name normalization inconsistency between SCIM-managed groups and manually created instance groups (igroups). The changes ensure that instance groups created through the API use the same naming convention (lowercase with underscores instead of spaces) that SCIM groups use. Code Quality AssessmentStrengths:
Issues & Concerns: 🔴 Critical: Missing Normalization in Workspace GroupsThe
Impact: This asymmetry could cause confusion. If the goal is to align naming across all group types (as the PR title suggests), workspace groups should also use // In create_group (line 230), consider:
let normalized_name = convert_name(&ng.name);
check_name_conflict(&mut tx, &w_id, &normalized_name).await?;
// ... use normalized_name in the INSERTHowever, this may be intentional if workspace groups and instance groups have different naming requirements. The PR description doesn't clarify this.
|
Deploying windmill with
|
| Latest commit: |
595949c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0dc50dfd.windmill.pages.dev |
| Branch Preview URL: | https://alp-scim-igroup-align.windmill.pages.dev |
No description provided.