JoaoJandre opened a new pull request, #6224: URL: https://github.com/apache/cloudstack/pull/6224
### Description This PR aims to correct the `migrateVolume` API permissions for the default users role. While the ACS UI currently only allows users with the `roleType` admin to perform volume migration, all default non-read-only roles have permission to use the `migrateVolume` API. However, this permission does not make sense for a common user, not even via API; to properly use `migrateVolume` it`s necessary to have knowledge about the cloud structure. Therefore, a common user should not be allowed by default to this API method. We are not saying that somebody cannot create a custom role allowing such a process; however, we should not provide such a scenario by default, as it might lead to some unexpected behaviors and/or misuses of the cloud environment. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [X] Bug fix (non-breaking change which fixes an issue) - [ ] 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 #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [X] Minor - [ ] Trivial ### Screenshots (if appropriate): ### How Has This Been Tested? The sql script was tested in a test db. -- 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]
