bernardodemarco opened a new pull request, #11179: URL: https://github.com/apache/cloudstack/pull/11179
### Description Currently, it is not possible to list the templates and ISOs of a specific domain. When executing the `listTemplates` and `listIsos` APIs only specifying a `domainid`, all templates/ISOs that the caller has access to are listed; the `domainid` parameter is completely ignored. Therefore, this PR proposes to add support for listing templates and ISOs by domain. To achieve that, the `listTemplates` and `listIsos` APIs should be called defining the `templatefilter` and `isofilter` parameters to either `self` or `selfexecutable`. Furthermore, the `isrecursive` parameter can be used, to list templates and ISOs recursively by domain. --- Fixes #10392, #10393 ### 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) - [ ] build/CI - [ ] test (unit or integration test code) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [X] Minor ### Screenshots (if appropriate): <img width="691" height="699" alt="image" src="https://github.com/user-attachments/assets/1178e01d-f493-4ab7-9dd5-09e502cb9d7d" /> <img width="1437" height="431" alt="image" src="https://github.com/user-attachments/assets/cb62934f-fc50-4014-9815-cb49eb1175c7" /> ### How Has This Been Tested? - Verified that domain access validation is correctly performed - Verified that it is possible to list templates and ISOs by domain when specifying the `templatefilter` and `isofilter` parameters to either `self` or `selfexecutable` - Verified that templates and ISOs are recursively listed when the `isrecursive` parameter is specified as true -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org