mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-11 17:41:29 -05:00
Protect Organization related GET requests #3649
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mprasil on GitHub (May 29, 2018).
It seems that we don't really check user's access rights when doing
/organization/*API calls. While this is mostly harmless in theory, we should probably protect all of these under some common check.It think implementing some form of request guard would probably be the best way to handle that.
@mprasil commented on GitHub (May 30, 2018):
Submitted an PR #34 to fix this.