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

Granular permissions handling #5

Open
Skelmis opened this issue Nov 10, 2022 · 0 comments
Open

Granular permissions handling #5

Skelmis opened this issue Nov 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Skelmis
Copy link
Collaborator

Skelmis commented Nov 10, 2022

Currently the HTTP client introduced in #4 makes assumptions that any tokens will have the relevant permissions, and where they do not we let the response status code dictate handling. We could improve this logic to perform the relevant checks on the client side and in turn raise more informative errors without the need to make a request to the API

@Skelmis Skelmis added the enhancement New feature or request label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant