Skip to content

Commit

Permalink
feat(docs): update FAQ documentation for permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
panvourtsis committed Jul 27, 2023
1 parent fcfaf83 commit 8621620
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: PR
on:
pull_request:
branches:
- 'master'
- 'next'
- 'v3.x'

jobs:
deploy-review-app:
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/modules/Authentication/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Make sure you have a `.env` or `.env.local` on your project and you set up the e

### How i can filter based on user permissions?

To use the current user permissions you must use the `decodedToken` returned by the `getAccessTokenSilently` function. The `decodedToken` returns the permissions that based on those you will do the decision-making.
To use the current user permissions you must use the `decodedToken` returned by the `getAccessTokenSilently` function. The `decodedToken` returns the permissions that based on those you will do the decision-making from the application level.

### Refresh tokens don't seem to work.

Expand Down

0 comments on commit 8621620

Please sign in to comment.