[ https://issues.apache.org/jira/browse/CLOUDSTACK-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733925#comment-13733925 ]
Alena Prokharchyk commented on CLOUDSTACK-4196: ----------------------------------------------- You don't have to do it per project. To see all the instances of all the projects, pass "projectid=-1" to the call. This is how list commands are designed today: * if listAll/projectId are not passed in to the call, the caller will see his own resources only * if listAll is passed in, the caller will see all the resources that he is authorized to see (if regular user - only his own resources, if domain admin - resources of his domain/subdomains, if root admin - all resources in the system) except for project based resources. * if projectId=-1 is passed in, the caller will see all the Projects' based resources that he is authorized to see (if regular user - only his own resources, if domain admin - resources of his domain/subdomains, if root admin - all resources in the system). * if projectId=<id> is passed in, only resources of the certain project are returned. * if account/domainId pair is passed in to the list call, the resources of the account specified, will be returned to the caller. Domain/root admin can pass account/domainId of users of their domain/subdomain; regular user is allowed to specify only his own resources. Existing API behavior should remain the same. Changing how it works now, would break customers setup as lots of them built their UI around the current behavior. To implement the feature - seeing all the resources that you are authorize to see, in project or outside the project - some new flag (parameter) needs to be introduced to the UI. All old parameters should remain untouched. > Enable root admin(s) to see all instances, including those in projects > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-4196 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4196 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Projects, UI > Affects Versions: 4.1.0 > Reporter: Kirk Jantzer > > At present, the API nor the UI allow the listing of all instances, even if > they reside within a project. To know about these instances, the projectid > needs to be added to the list virtualmachines. To me, the root admin(s) > should be able to know about ALL instances in the CloudStack environment > without having to go into each project. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira