-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to use full DN instead of CN for autorization.
I do not fully trust our users to do the right thing and avoid to have the same group names in different parts of the organisation. If I rely on CN, it means a duplicate name could grant access incorrectly. This is a problem, and I do not want this refactor to be causing a security impact. Instead of fully rewriting the code OR ensuring that the org have no duplicate CN names, I make sure the regexp is matching on the full DN. I expect this should be cleaned in the future, as Kubernetes itself does not have this notion.
- Loading branch information
1 parent
584a998
commit e5acd34
Showing
5 changed files
with
130 additions
and
139 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters