1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-26 05:50:29 +01:00
vaultwarden/src/api
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
..
core Add Org user revoke feature 2022-08-20 16:42:36 +02:00
admin.rs Add Org user revoke feature 2022-08-20 16:42:36 +02:00
icons.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00
identity.rs Upgrade dependencies and swap lettre to async transport 2022-07-06 23:57:37 +02:00
mod.rs Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking 2022-02-27 21:36:31 +01:00
notifications.rs Fix clippy lint and remove unused log 2022-06-04 19:13:58 +02:00
web.rs Add /api/{alive,now,version} endpoints 2022-04-23 23:47:49 -07:00