You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you only have an auth token (and not the private code), there's one thing you can do through the API that you cannot do through the web interface: deleting the project. This is annoying, because we would like tokens to have less privilege than the private code (since they are used in invite links)
I see two ways to improve it:
use separate tokens for invite links and API access
make sure the private code is required to delete the project through the API
See #1204 and https://ihatemoney.readthedocs.io/en/latest/security.html#giving-access-to-a-project for context
If you only have an auth token (and not the private code), there's one thing you can do through the API that you cannot do through the web interface: deleting the project. This is annoying, because we would like tokens to have less privilege than the private code (since they are used in invite links)
I see two ways to improve it:
For the second solution, we cannot reliably ask the private code in the body of a DELETE request. We could switch to a POST request instead.
The text was updated successfully, but these errors were encountered: