sureshanaparti commented on pull request #4774:
URL: https://github.com/apache/cloudstack/pull/4774#issuecomment-932044871


   Manually tested with the below steps and verified the public template access 
restriction to other domains, when the config 
"_restrict.public.template.access.to.domain_" is set to true.
   
   - Created to Domains: Domain1 and Domain2.
   - Created accounts/users: Domain1Admin and Domain2Admin.
   - Registered public templates from macchinina-admin from Admin account.
   - Registered public templates from macchinina-domain1, centos55-domain1 from 
Domain1Admin account.
   - Registered public templates from macchinina-domain2, centos55-domain2 from 
Domain2Admin account.
   - By default the config "restrict.public.template.access.to.domain" is set 
to false, and the public templates of domain1/domain2 are listed for admin, 
domain1 admin, and domain2 admin. 
   - Set the config "restrict.public.template.access.to.domain" to true, and 
verified the public templates of domain1 are not listed for domain2 admin, and 
the templates of domain2 are not listed for domain1 admin. But, all the public 
templates are listed for root admin.
   
   
   


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