cloudstack/server
Remi Bergsma f65dec4b0f Merge pull request #658 from manuiiit/pull-11
Implemented condition that only admin or owner of the template can change its permissions ..... using updateTemplatePermissions API

Consider this scenario :
In a domain, there are three User Accounts UA1, UA2,UA3
A private template is registered by UA1
Through the updateTemplatePermissions API, UA1 gives permission to both UA2 and UA3
Now, UA2, having been shared the template, can remove the permission of UA3(or add permissions to another account).
EXPECTED BEHAVIOR :
UA2 should not be able to to add/remove permissions of other accounts.

* pr/658:
  Implemented condition that only admin or owner of the template can change its permissions using updateTemplatePermissions API

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-08-11 11:38:33 +02:00
..
conf Use same sudoers config for all distros Cleanup buggy code for sudoers file editing 2015-06-19 16:00:57 +02:00
resources Merge branch 'volume-upload' into master 2015-04-29 11:12:53 +05:30
scripts License header updates for the server folder. 2012-08-03 09:41:27 -04:00
src Merge pull request #658 from manuiiit/pull-11 2015-08-11 11:38:33 +02:00
test CLOUDSTACK-8704: Schedule restart of router VMs ahead of user VMs as part of HA 2015-08-10 14:51:44 +05:30
pom.xml Change tests random number generator to /dev/urandom 2015-05-29 20:24:41 +02:00