1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00
bitwarden-browser/apps
Rui Tomé 203a7b0c01
[PM-11405] Account Management: Prevent a verified user from changing their email address (#11486)
* 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

* Hide the change email section if the user is managed by an organization

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

* Refactor organization.data.spec.ts to include non-nullable userIsManagedByOrganization property

* Refactor account component initialization logic

* Remove opening modal that was added by mistake
2024-10-28 16:12:16 +00:00
..
browser Autosync the updated translations (#11745) 2024-10-28 09:34:44 +00:00
cli [deps] Autofill: Update tldts to v6.1.56 (#11728) 2024-10-28 11:13:21 -04:00
desktop [deps] Platform: Update @types/node to v20.17.1 (#11733) 2024-10-28 11:13:54 -04:00
web [PM-11405] Account Management: Prevent a verified user from changing their email address (#11486) 2024-10-28 16:12:16 +00:00