winterhazel opened a new pull request, #8337: URL: https://github.com/apache/cloudstack/pull/8337
### Description Admins are able to lock and unlock users through the APIs `lockUser` and `enableUser`; however, this feature is not currently available in the UI. To address this issue, this PR adds a button to the page of `Enabled` users which allows admins to lock them through the UI. Furthermore, when a user is `Locked`, the "Enable User" button is now visible for admins. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [X] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [X] Minor ### Screenshots (if appropriate):   ### How Has This Been Tested? 1. In the root admin account, I accessed the page of an `Enabled` user and verified that the "Lock User" button was available; 2. I clicked the "Lock User" button and verified that the user's state changed to `Locked`; 3. I verified that the "Enable User" button was now visible. 4. I clicked the "Enable User" button and verified that the user's state changed to `Enabled`; 5. In an account that had the role `User`, I accessed the user's own page and verified that the "Lock User" button was not visible. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
