1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-07-02 12:14:41 +02:00
vaultwarden/src/api/core
BlackDex 1722742ab3
Add Org user revoke feature
This PR adds a the new v2022.8.x revoke feature which allows an
organization owner or admin to revoke access for one or more users.

This PR also fixes several permissions and policy checks which were faulty.

- Modified some functions to use DB Count features instead of iter/count aftwards.
- Rearanged some if statements (faster matching or just one if instead of nested if's)
- Added and fixed several policy checks where needed
- Some small updates on some response models
- Made some functions require an enum instead of an i32
2022-08-20 16:42:36 +02:00
..
two_factor Add more clippy checks for better code/readability 2022-07-10 16:39:38 +02:00
accounts.rs Upgrade dependencies and swap lettre to async transport 2022-07-06 23:57:37 +02:00
ciphers.rs Add Org user revoke feature 2022-08-20 16:42:36 +02:00
emergency_access.rs Add Org user revoke feature 2022-08-20 16:42:36 +02:00
folders.rs Migrate old ws crate to tungstenite, which is async and also removes over 20 old dependencies 2022-06-04 19:13:39 +02:00
mod.rs Fix for issue #2566 2022-06-21 17:36:07 +02:00
organizations.rs Add Org user revoke feature 2022-08-20 16:42:36 +02:00
sends.rs Add Org user revoke feature 2022-08-20 16:42:36 +02:00