clients/apps
Rui Tomé c21841a2df
[PM-26485] Add member status validation to CLI confirm command (#18557)
* 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.
2026-02-09 11:38:00 +00:00
..
browser Autosync the updated translations (#18836) 2026-02-09 11:26:10 +00:00
cli [PM-26485] Add member status validation to CLI confirm command (#18557) 2026-02-09 11:38:00 +00:00
desktop Autosync the updated translations (#18835) 2026-02-09 12:35:00 +01:00
web Bumped client version(s) 2026-02-09 11:36:30 +00:00