You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "shweta agarwal (JIRA)" <ji...@apache.org> on 2013/07/04 14:33:47 UTC
[jira] [Updated] (CLOUDSTACK-3361) normal user not able to edit his
own created public template in case of project
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
shweta agarwal updated CLOUDSTACK-3361:
---------------------------------------
Summary: normal user not able to edit his own created public template in case of project (was: normal user not able to edit his own created public template)
> normal user not able to edit his own created public template in case of project
> -------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3361
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3361
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Projects
> Affects Versions: 4.2.0
> Reporter: shweta agarwal
> Fix For: 4.2.0
>
>
> Repro steps:
> Create a domain
> create some account in that domain
> create a project in that domain
> create a public template in that Project
> Edit that public template
> Bug:
> Gets messgae: Domain Admin and regular users can modify only their own Public templates
> MS log shows :
> 2013-07-04 17:49:23,292 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===START=== 10.146.0.12 -- GET command=updateTemplate&response=json&sessionkey=8rczMjm4sfljFOEi6dL2xT631sc%3D&projectid=a548b266-18e5-4f36-a3bc-d55c93c3e289&id=731a271e-36fe-4553-9d9b-3da968b30e60&zoneid=bfdf7ac5-16c3-491e-aabd-f7ad696612b8&name=private-no-extractable111&displaytext=private-no-extractable111&ostypeid=480b07c6-e475-11e2-95e7-0682fe000017&passwordenabled=false&_=1372940365085
> 2013-07-04 17:49:23,312 INFO [cloud.api.ApiServer] (catalina-exec-25:null) PermissionDenied: Domain Admin and regular users can modify only their own Public templates on objs: []
> 2013-07-04 17:49:23,314 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===END=== 10.146.0.12 -- GET command=updateTemplate&response=json&sessionkey=8rczMjm4sfljFOEi6dL2xT631sc%3D&projectid=a548b266-18e5-4f36-a3bc-d55c93c3e289&id=731a271e-36fe-4553-9d9b-3da968b30e60&zoneid=bfdf7ac5-16c3-491e-aabd-f7ad696612b8&name=private-no-extractable111&displaytext=private-no-extractable111&ostypeid=480b07c6-e475-11e2-95e7-0682fe000017&passwordenabled=false&_=1372940365085
> 2013-07-04 17:49:23,554 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===START=== 10.146.0.12 -- GET command=updateTemplatePermissions&response=json&sessionkey=8rczMjm4sfljFOEi6dL2xT631sc%3D&projectid=a548b266-18e5-4f36-a3bc-d55c93c3e289&id=731a271e-36fe-4553-9d9b-3da968b30e60&zoneid=bfdf7ac5-16c3-491e-aabd-f7ad696612b8&ispublic=true&_=1372940365309
> 2013-07-04 17:49:23,586 INFO [cloud.api.ApiServer] (catalina-exec-13:null) PermissionDenied: Domain Admin and regular users can modify only their own Public templates on objs: []
> 2013-07-04 17:49:23,587 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===END=== 10.146.0.12 -- GET command=updateTemplatePermissions&response=json&sessionkey=8rczMjm4sfljFOEi6dL2xT631sc%3D&projectid=a548b266-18e5-4f36-a3bc-d55c93c3e289&id=731a271e-36fe-4553-9d9b-3da968b30e60&zoneid=bfdf7ac5-16c3-491e-aabd-f7ad696612b8&ispublic=true&_=1372940365309
> 2013-07-04 17:49:23,796 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===START=
--
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