1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-24 12:35:25 +01:00
bitwarden-server/test/Infrastructure.IntegrationTest
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/Repositories [PM-11404] Account Management: Prevent a verified user from purging their vault (#4853) 2024-10-17 16:06:32 +01:00
Auth/Repositories Fix Most Test Warnings (#4612) 2024-08-15 17:14:22 -04:00
Comparers [PM-3581] Fix Postgres Time (#3221) 2024-06-28 16:13:02 +02:00
Services [AC-1722] Deprecate "Edit/Delete Assigned Collections" custom permissions (#4604) 2024-09-02 11:04:55 +01:00
Tools Fix Most Test Warnings (#4612) 2024-08-15 17:14:22 -04:00
Vault/Repositories Fix Most Test Warnings (#4612) 2024-08-15 17:14:22 -04:00
ConfigurationExtensions.cs Fix Most Test Warnings (#4612) 2024-08-15 17:14:22 -04:00
DatabaseDataAttribute.cs [AC-1722] Deprecate "Edit/Delete Assigned Collections" custom permissions (#4604) 2024-09-02 11:04:55 +01:00
DatabaseTheoryAttribute.cs [PM-2444] Add Pipeline for Testing All Database Variants in CI (#2471) 2023-05-30 13:25:55 -04:00
DistributedCacheTests.cs [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
Infrastructure.IntegrationTest.csproj [deps] Billing: Update dotnet monorepo (#4819) 2024-09-30 11:14:17 -04:00
test.db [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00