1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-01 13:43:23 +01:00
bitwarden-server/test/Core.Test
Rui Tomé d6cd73cfcc
[PM-11404] Account Management: Prevent a verified user from purging their vault (#4853)
* Add check for managed user before purging account

* Rename IOrganizationRepository.GetByClaimedUserDomainAsync to GetByVerifiedUserEmailDomainAsync and refactor to return a list. Remove ManagedByOrganizationId from ProfileResponseMode. Add ManagesActiveUser to ProfileOrganizationResponseModel

* Rename the property ManagesActiveUser to UserIsManagedByOrganization

* Remove whole class #nullable enable and add it to specific places

* Remove unnecessary .ToList()

* Refactor IUserService methods GetOrganizationsManagingUserAsync and IsManagedByAnyOrganizationAsync to not return nullable objects. Update ProfileOrganizationResponseModel.UserIsManagedByOrganization to not be nullable

* Update error message when unable to purge vault for managed account
2024-10-17 16:06:32 +01:00
..
AdminConsole [AC-607] Extract IOrganizationService.DeleteUserAsync into IRemoveOrganizationUserCommand (#4803) 2024-10-16 10:33:00 +01:00
Auth [PM-12684] Remove Members Bulk 2FA feature flag logic (#4864) 2024-10-09 15:32:49 +01:00
AutoFixture [AC-2646] Remove FC MVP dead code from Core (#4281) 2024-07-12 12:25:04 -05:00
Billing Added filter for status when getting invoices (#4866) 2024-10-09 13:00:36 +00:00
Entities [AC-1283] AC Team code ownership moves: Organization (pt 2) (#3486) 2023-11-29 15:31:15 -06:00
Helpers Run formatting (#2230) 2022-08-29 16:06:55 -04:00
Models [PM-11667] Remove all code related to the outdated custom permissions 'Edit/Delete Assigned Collections' (#4736) 2024-09-10 15:06:13 +01:00
NotificationCenter PM-11123: Notification Status Details view (#4848) 2024-10-03 22:13:43 +02:00
OrganizationFeatures F4E validation (#4690) 2024-08-22 15:10:03 +00:00
Resources Run formatting (#2230) 2022-08-29 16:06:55 -04:00
SecretsManager [SM-654] Individual secret permissions (#4160) 2024-06-20 12:45:28 -05:00
Services [PM-11404] Account Management: Prevent a verified user from purging their vault (#4853) 2024-10-17 16:06:32 +01:00
Tokens Run formatting (#2230) 2022-08-29 16:06:55 -04:00
Tools Replace async void with async Task (#3835) 2024-02-22 11:59:08 -05:00
Utilities Add AuthorizeOrThrowAsync extension method (#4790) 2024-09-23 08:45:14 +10:00
Vault [AC-2881] Remove Organization.FlexibleCollections from code (#4552) 2024-07-26 15:07:33 +10:00
ConstantsTests.cs [PM-3565] Enforce higher minimum KDF (#3304) 2023-12-05 17:21:46 +01:00
Core.Test.csproj [deps] Billing: Update Kralizek.AutoFixture.Extensions.MockHttp to 2.1.0 (#4888) 2024-10-14 12:15:04 +01:00
TempDirectory.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00