mirror of
https://github.com/bitwarden/server.git
synced 2026-06-01 01:55:55 -05:00
* Implement UpdateCollectionManagementSettingsCommand and associated interface for managing organization collection settings * Add UpdateCollectionManagementSettingsCommand to handle updates to organization collection management settings. * Create IUpdateCollectionManagementSettingsCommand interface to define the update method. * Implement unit tests for UpdateCollectionManagementSettingsCommand to verify event logging and exception handling. * Add IUpdateCollectionManagementSettingsCommand to service collection * Register IUpdateCollectionManagementSettingsCommand and its implementation, UpdateCollectionManagementSettingsCommand, in the service collection for managing organization collection settings. * Rename command * Update OrganizationsController to use IOrganizationUpdateCollectionManagementCommand * Added IOrganizationUpdateCollectionManagementCommand to the OrganizationsController for managing collection settings updates. * Updated the constructor to inject the new command and modified the PutCollectionManagement method to utilize it. * Adjusted unit tests to reflect the changes in the command used for updating collection management settings. * Refactor IOrganizationService and OrganizationService to remove UpdateCollectionManagementSettingsAsync method * Removed the UpdateCollectionManagementSettingsAsync method from IOrganizationService and its implementation in OrganizationService. * Cleaned up unused usings related to collection management settings in both service files. * Updated unit tests to reflect the removal of the collection management settings update functionality.