hsato03 opened a new pull request, #7973: URL: https://github.com/apache/cloudstack/pull/7973
### Description The concept of public roles was introduced in the PR [#6960](https://github.com/apache/cloudstack/pull/6960), however this resource was not extended to the UI. Thus, a field was added in the role creation, update and import form that allows you to choose whether the role is public or not. ### 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 #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [X] Minor - [ ] Trivial ### Screenshots (if appropriate): ### How Has This Been Tested? I created, imported and updated some roles, then I checked the result of these operations in the database. | N° | Test | isPublic | Expected result | | ------ | ------ | ------ | ------ | | 1 | Create a role with `isPublic` field checked | True | Y | | 2 | Create a role with `isPublic` field unchecked | False | Y | | 3 | Update a role with `isPublic` field checked | True | Y | | 4 | Update a role with `isPublic` field unchecked | False | Y | | 5 | Import a role with `isPublic` field checked | True | Y | | 6 | Import a role with `isPublic` field unchecked | False | Y | -- 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]
