mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
[PR #6247] Fix around singleorg policy #2431
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?
Original Pull Request: https://github.com/dani-garcia/vaultwarden/pull/6247
State: open
Merged: No
Should fix:
Moved all the logic back to the
check_user_allowedinstead of having to duplicate it from all call site, might make sense to move it out, inside a mod.rs maybe ?Add the Admin and Invited membership test in
check_user_allowed, means that all membership modification need to be done before calling the check.