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

Add allowedGroups option for clients config #1583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nabokihms
Copy link
Member

@nabokihms nabokihms commented Nov 15, 2019

Description

Sometimes it may be necessary to restrict access to applications for certain groups.
It's easy to achieve by adding the allowedGroups option, which is represented as a list of groups, to oauth2-client configuration.

For example:
We want to allow access to all django admin panels for users in django-admins group.

This is a proof of concept because the option reading added only for Kubernetes storage provider. However, I will do similar changes for the rest of the providers if I have some feedback.

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
@nabokihms
Copy link
Member Author

Now, this branch grows from actual master. This feature can still be convenient for someone. So, I will try to keep this branch up to date.

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.

None yet

1 participant