1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00
bitwarden-browser/apps
Rui Tomé 97e195cd7b
[PM-11404] Account Management: Prevent a verified user from purging their vault (#11411)
* Update AccountService to include a method for setting the managedByOrganizationId

* Update AccountComponent to conditionally show the purgeVault button based on a feature flag and if the user is managed by an organization

* Add missing method to FakeAccountService

* Remove the setAccountManagedByOrganizationId method from the AccountService abstract class.

* Refactor AccountComponent to use OrganizationService to check for managing organization

* Rename managesActiveUser to userIsManagedByOrganization

* Refactor userIsManagedByOrganization property to be non-nullable in organization data and response models

* Refactor organization.data.spec.ts to include non-nullable userIsManagedByOrganization property
2024-10-17 16:06:33 +01:00
..
browser Auth/PM-8112 - UI refresh - Registration Components (#11353) 2024-10-16 18:28:27 -04:00
cli [deps] Vault: Update koa to v2.15.3 (#10567) 2024-10-16 22:35:45 +02:00
desktop Auth/PM-8112 - UI refresh - Registration Components (#11353) 2024-10-16 18:28:27 -04:00
web [PM-11404] Account Management: Prevent a verified user from purging their vault (#11411) 2024-10-17 16:06:33 +01:00