Skip to content

Fix CN use in rolebindings#77

Merged
jfhcagip merged 1 commit intomasterfrom
fixCNUseInRolebindings
Mar 23, 2026
Merged

Fix CN use in rolebindings#77
jfhcagip merged 1 commit intomasterfrom
fixCNUseInRolebindings

Conversation

@jfhcagip
Copy link
Copy Markdown
Contributor

When creating rolebindings, kubi uses the full DN (Ex: CN=GROUP_CN, OU=SOME_OU_1,OU=SOME_OU_2,OU=SOME_OU_13,OU=SOME_OU_4) of the transversal groups instead of the CN (GROUP_CN).

This PR fixes this issue, without it, a user would be linked to a group cn on login, but inside the cluster, the rolebinding would be on the group dn, which would effectively not give the expected rights to the user

@jfhcagip jfhcagip force-pushed the fixCNUseInRolebindings branch from d33c69b to eace6c4 Compare March 23, 2026 16:55
@jfhcagip jfhcagip force-pushed the fixCNUseInRolebindings branch from eace6c4 to 5fca7c1 Compare March 23, 2026 16:59
@jfhcagip jfhcagip merged commit 8814a8d into master Mar 23, 2026
8 checks passed
jfhcagip added a commit that referenced this pull request Mar 24, 2026
When creating rolebindings, kubi uses the full DN (Ex: CN=GROUP_CN, OU=SOME_OU_1,OU=SOME_OU_2,OU=SOME_OU_13,OU=SOME_OU_4) of the transversal groups instead of the CN (GROUP_CN).

This PR fixes this issue, without it, a user would be linked to a group cn on login, but inside the cluster, the rolebinding would be on the group dn, which would effectively not give the expected rights to the user
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.

1 participant