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

Avoid executing permissions request for anonymous users #1213

Closed
giohappy opened this issue Sep 22, 2022 · 0 comments
Closed

Avoid executing permissions request for anonymous users #1213

giohappy opened this issue Sep 22, 2022 · 0 comments
Assignees
Labels

Comments

@giohappy
Copy link

giohappy commented Sep 22, 2022

The following request is always executed:

  • /api/v2/resources/{pk}/permissions -> this is executed when viewing a specific resource

When the current user is anonymous they return 403.
The client should not send this request when the current user is anonymous.

@giohappy giohappy changed the title Avoid making the /userinfo and the /permissions requests for anonymous users Avoid eecuting userinfo and permissions requests for anonymous users Sep 22, 2022
@giohappy giohappy changed the title Avoid eecuting userinfo and permissions requests for anonymous users Avoid executing userinfo and permissions requests for anonymous users Sep 22, 2022
@DavidQuartz DavidQuartz changed the title Avoid executing userinfo and permissions requests for anonymous users Avoid executing permissions request for anonymous users Oct 3, 2022
DavidQuartz added a commit to DavidQuartz/geonode-mapstore-client that referenced this issue Oct 12, 2022
@allyoucanmap allyoucanmap reopened this Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants