Skip to content
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

Enhance the explanation for the group filter #503

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

AllForNothing
Copy link
Contributor

- **OIDC Provider Name**: The name of the OIDC provider.
- **OIDC Provider Endpoint**: The URL of the endpoint of the OIDC provider.
- **OIDC Client ID**: The client ID with which Harbor is registered as client application with the OIDC provider.
- **OIDC Client Secret**: The secret for the Harbor client application.
- **OIDC Group Filter**: The [regular expression](https://pkg.go.dev/regexp/syntax) to filter OIDC groups.Only the groups that match the provided regular express will be added to Harbor.
- **OIDC Group Filter**: The [regular expression](https://pkg.go.dev/regexp/syntax) to filter OIDC groups.Only the groups that match the provided regular express will be added to Harbor. It only filter the groups, doesn’t limit the users login to Harbor.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **OIDC Group Filter**: The [regular expression](https://pkg.go.dev/regexp/syntax) to filter OIDC groups.Only the groups that match the provided regular express will be added to Harbor. It only filter the groups, doesn’t limit the users login to Harbor.
- **OIDC Group Filter**: The [regular expression](https://pkg.go.dev/regexp/syntax) to filter OIDC groups.Only the groups that match the provided regular express will be added to Harbor. It only filters the groups and doesn’t limit the user's login to Harbor.

@OrlinVasilev
Copy link
Member

@AllForNothing added comment

Copy link
Member

@Vad1mo Vad1mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole text is a bit off:
It misses:

  • On what data/source it is filtering on? -> «Group Claim Name»
  • What will happen with the filtered result -> Groups are added to Harbor

What about this:

OIDC Group Filter: A regular expression to select matching groups from the «Group Claim Name» list 
. Matching groups are added to Harbor. This filter does not limit the users' capability to log in into Harbor.

@AllForNothing
Copy link
Contributor Author

@Vad1mo Thanks for the commend, will update the PR later.

1. Fix goharbor/harbor#19419

Signed-off-by: AllForNothing <sshijun@vmware.com>
@AllForNothing AllForNothing merged commit 330aaf7 into goharbor:main Nov 13, 2023
5 checks passed
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.

OIDC OnBoarding - Group Filter not working
6 participants