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

Bug: User id is is not being stored in global state when user is authenticated #110

Open
ptranny opened this issue Jul 11, 2022 · 0 comments
Labels
bug Something isn't working frontend

Comments

@ptranny
Copy link
Contributor

ptranny commented Jul 11, 2022

Currently there is no id property of the user state being stored. Some API requests to the back end (e.g. GET /api/v1/gardens/:id) require the user id to be sent in the header in order to check for admin privileges.

@ptranny ptranny assigned ptranny and unassigned ptranny Jul 11, 2022
@ptranny ptranny added bug Something isn't working frontend labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

1 participant