1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-24 12:35:25 +01:00
bitwarden-server/test/Api.Test
Rui Tomé 93e49ffe74
[AC-607] Extract IOrganizationService.DeleteUserAsync into IRemoveOrganizationUserCommand (#4803)
* Add HasConfirmedOwnersExceptQuery class, interface and unit tests

* Register IHasConfirmedOwnersExceptQuery for dependency injection

* Replace OrganizationService.HasConfirmedOwnersExceptAsync with HasConfirmedOwnersExceptQuery

* Refactor DeleteManagedOrganizationUserAccountCommand to use IHasConfirmedOwnersExceptQuery

* Fix unit tests

* Extract IOrganizationService.RemoveUserAsync into IRemoveOrganizationUserCommand; Update unit tests

* Extract IOrganizationService.RemoveUsersAsync into IRemoveOrganizationUserCommand; Update unit tests

* Refactor RemoveUserAsync(Guid organizationId, Guid userId) to use ValidateDeleteUser

* Refactor RemoveOrganizationUserCommandTests to use more descriptive method names

* Refactor controller actions to accept Guid directly instead of parsing strings

* Add unit tests for removing OrganizationUser by UserId

* Refactor remove OrganizationUser by UserId method

* Add summary to IHasConfirmedOwnersExceptQuery
2024-10-16 10:33:00 +01:00
..
AdminConsole [AC-607] Extract IOrganizationService.DeleteUserAsync into IRemoveOrganizationUserCommand (#4803) 2024-10-16 10:33:00 +01:00
Auth [PM-5963] Fix tde offboarding vault corruption (#4144) 2024-07-23 14:53:08 -04:00
Billing [AC-607] Extract IOrganizationService.DeleteUserAsync into IRemoveOrganizationUserCommand (#4803) 2024-10-16 10:33:00 +01:00
Controllers Remove FlexibleCollections feature flag (#4481) 2024-07-24 09:03:09 +10:00
Models/Request/Accounts [PM-3565] Enforce higher minimum KDF (#3304) 2023-12-05 17:21:46 +01:00
SecretsManager PM-11123: Device Type mapping (#4768) 2024-09-23 23:02:32 +02:00
Tools [PM-517] Added validation to maximum and minimum expiry date (#4199) 2024-06-21 13:56:43 +01:00
Utilities [PM-8830] Billing Enums Rename (#4180) 2024-06-14 15:34:47 -04:00
Vault [PM-3478] Refactor OrganizationUser api (#4752) 2024-10-01 07:14:16 +10:00
Api.Test.csproj Support for passkey registration (#2885) 2023-10-30 09:40:06 -04:00