GitHub user shwetaag opened a pull request:
https://github.com/apache/cloudstack/pull/153
verifying template creation permission based on global parameter
Test to create Public Template by registering or by snapshot and volume when
Global parameter 'allow.public.user.template' is set to False
@steps:
1.Set Global parameter 'allow.public.user.template' as False.
Restart Management server
2. Create a domain
3. Create a domain admin and a domain user
4. Create a vm as domain user
5. take snapshot of root disk as user vm
6. try to create public template from snapshot . It should fail
7. stop the VM
8. take the public template from volume. it should fail
9. register a public template as a domain user . it should fail
10. create a VM as domain admin
11. create a snapshot of root disk as domain admin
12 create a public template of the snapshot .it should fail
13. Register a public template as domain admin. it should fail
14 Stop the vm as domain admin
15. Create a template from volume as domain admin . it should fail
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shwetaag/cloudstack escalations
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/153.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #153
----
commit 01f86972a9317ebf98a1c4677d15f7c1cc0c0698
Author: shweta agarwal <[email protected]>
Date: 2015-04-09T11:21:50Z
verifying template creation permission
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---