mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-28 21:01:38 +08:00
* Add validation for organization user status in CLI Confirm command - Implemented a new method to validate the status of an organization user before confirmation. - Added checks for various user states: invited, confirmed, revoked, and accepted. - Enhanced error handling to provide clearer feedback based on user status. * Refactor validation logic in ConfirmCommand to remove unnecessary user ID check - Removed the check for null userId in the validateOrganizationUserStatus method. - Simplified the validation process for organization user status before confirmation. * Add unit tests for ConfirmCommand in CLI - Created a new test suite for the ConfirmCommand to validate its functionality. - Implemented tests for various scenarios including bad requests, user status validations, and successful confirmations. - Enhanced error handling tests to ensure proper responses for missing organization keys and API failures. |
||
|---|---|---|
| .. | ||
| admin-console | ||
| auth/commands | ||
| commands | ||
| key-management | ||
| locales/en | ||
| models | ||
| platform | ||
| service-container | ||
| tools | ||
| vault | ||
| base-program.ts | ||
| bw.ts | ||
| oss-serve-configurator.ts | ||
| program.ts | ||
| register-oss-programs.ts | ||
| serve.program.ts | ||
| utils.ts | ||
| vault.program.ts | ||