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

Cognito groups #9

Merged
merged 4 commits into from
Jun 25, 2020
Merged

Cognito groups #9

merged 4 commits into from
Jun 25, 2020

Conversation

cdominguezg
Copy link
Contributor

Here is a pull request to extend the possibilities of this library. I want to use it in a project and I need to check the group of the user authenticated with Cognito.

I've done a decorator and a function, which receives a list of strings with the names of the groups to check if the user belongs to at least one of these groups.

Regards :)

Copy link
Member

@revmischa revmischa left a comment

Choose a reason for hiding this comment

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

Cool thanks!
Public-facing documentation would be nice

@cdominguezg
Copy link
Contributor Author

Now you have an example of how to use my feature inside Readme.md file :)

Review it if you can and it would be nice if all is ok, to update pypi package!

Thanks for develop this library, you saved me, literally 👍

@revmischa revmischa merged commit 4c87db5 into jetbridge:master Jun 25, 2020
@revmischa
Copy link
Member

Done, thanks for the contribution!

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.

2 participants