1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-06 19:28:08 +01:00
bitwarden-server/test/Core.Test/AdminConsole
Rui Tomé 674bd1e495
[PM-13026] Refactor remove and bulkremove methods to throw error if user is managed by an organization (#5034)
* Enhance RemoveOrganizationUserCommand to block removing managed users when account deprovisioning is enabled

* Refactor RemoveUsersAsync method to return just the OrgUserId and update related logic.

* Refactor RemoveOrganizationUserCommand to improve variable naming and remove unused logging method

* Add support for event system user in RemoveUsersAsync method. Refactor unit tests.

* Add xmldoc to IRemoveOrganizationUserCommand methods

* Refactor RemoveOrganizationUserCommand to use TimeProvider for event date retrieval and update unit tests accordingly

* Refactor RemoveOrganizationUserCommand to use constants for error messages

* Refactor unit tests to separate feature flag tests

* refactor: Update parameter names for clarity in RemoveOrganizationUserCommand

* refactor: Rename validation and repository methods for user removal clarity
2024-11-27 12:26:42 +00:00
..
Authorization [PM-12479] - Adding group-details endpoint (#4959) 2024-11-12 11:25:36 -06:00
AutoFixture [PM-10319] - Revoke Non Complaint Users for 2FA and Single Org Policy Enablement (#5037) 2024-11-26 16:37:12 -06:00
Entities [AC-1283] AC Team code ownership moves: Organization (pt 2) (#3486) 2023-11-29 15:31:15 -06:00
Models/Data [PM-8830] Billing Enums Rename (#4180) 2024-06-14 15:34:47 -04:00
OrganizationAuth Allow for bulk processing new login device requests (#4064) 2024-05-27 11:56:52 +10:00
OrganizationFeatures [PM-13026] Refactor remove and bulkremove methods to throw error if user is managed by an organization (#5034) 2024-11-27 12:26:42 +00:00
Services [PM-10319] - Revoke Non Complaint Users for 2FA and Single Org Policy Enablement (#5037) 2024-11-26 16:37:12 -06:00