1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-09 19:57:37 +01:00
bitwarden-server/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers
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
..
AcceptOrgUserCommandTests.cs [AC-1751] AC Team code ownership moves: OrganizationUser (part 1) (#3487) 2023-11-30 07:04:56 +10:00
CountNewSmSeatsRequiredQueryTests.cs SM-1012: Removing SM Beta (Phase 2) (#3663) 2024-02-05 15:51:31 -05:00
DeleteManagedOrganizationUserAccountCommandTests.cs [AC-607] Extract IOrganizationService.DeleteUserAsync into IRemoveOrganizationUserCommand (#4803) 2024-10-16 10:33:00 +01:00
GetOrganizationUsersManagementStatusQueryTests.cs [PM-10311] Account Management: Create helper methods for checking against verified domains (#4636) 2024-09-11 11:29:57 +01:00
HasConfirmedOwnersExceptQueryTests.cs [AC-607] Extract IOrganizationService.DeleteUserAsync into IRemoveOrganizationUserCommand (#4803) 2024-10-16 10:33:00 +01:00
RemoveOrganizationUserCommandTests.cs [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
RevokeNonCompliantOrganizationUserCommandTests.cs [PM-10319] - Revoke Non Complaint Users for 2FA and Single Org Policy Enablement (#5037) 2024-11-26 16:37:12 -06:00
UpdateOrganizationUserCommandTests.cs [AC-607] Extract IOrganizationService.DeleteUserAsync into IRemoveOrganizationUserCommand (#4803) 2024-10-16 10:33:00 +01:00
UpdateOrganizationUserGroupsCommandTests.cs [PM-13746] Remove loggedInUserId parameter. (#5033) 2024-11-19 17:19:22 -05:00