-
Notifications
You must be signed in to change notification settings - Fork 30
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
Are there permissions available? #12
Comments
If you like the idea, I'm thinking about submitting a PR adding the user groups to the token response, like this:
which would substitute the default ObtainAuthToken view, and making the corresponding changes on the tokenAuthProvider to make the roles available at the permissions. |
Would love to have this. |
@rafaellehmkuhl could you please explain your method for permission more? |
Sorry, but it has been a long time since I've worked with this and I honest have no clue 😅
|
On the example client (example/client/src/index.js) you use permissions for displaying or not the users section:
Are those permissions available? Because as far as I could see on the tokenAuthProvider.ts, only the authentication token is stored locally.
The text was updated successfully, but these errors were encountered: