sureshanaparti opened a new pull request, #324:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/324

   When an admin account that is not a member of a project tries to import it, 
the project lookup fails because listall is not set. The CloudStack API 
defaults to listall=false which only returns projects the account owns or is a 
member of, regardless of the caller's role.
   
   Setting listall=true in the getProjectByID helper allows admins (Root Admin 
or Domain Admin) to see and import projects they have authority over, even if 
they are not members. This does not widen privileges as the management server 
still enforces role and domain-subtree entitlements.
   
   Fixes: #303


-- 
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]

Reply via email to