Alena, > Jessica, did you mean updateIso? As updateIsoPermissions updates permissions > only. Alena, I meant UpdateIsoPermissions API, not updateIso API. If you check Java file, it's UpdateIsoPermissionsCmd.java that extends BaseUpdateTemplateOrIsoPermissionsCmd.java which takes in isextractable parameter.
> Answering your question - if user can specify the flag when registering the > template, he should be allowed to update it. Thanks. > Again, should be updateIso. should be updateIsoPermissions > its a bug if he can update the flag on existing object, but can't create the > object with this flag by default. Thanks Jessica -----Original Message----- From: Alena Prokharchyk Sent: Tuesday, October 08, 2013 5:21 PM To: Jessica Wang; <dev@cloudstack.apache.org> Cc: Nitin Mehta; Shweta Agarwal Subject: Re: questions about registerIso API and updateIsoPermissions API On 10/8/13 5:10 PM, "Jessica Wang" <jessica.w...@citrix.com> wrote: >Hi, > >I have questions about registerIso API and updateIsoPermissions API. > >(1) A normal user is allowed to specify isextractable property when >registering an ISO (through registerIso API), > >but NOT allowed to update isextractable property when updating an ISO >(through updateIsoPermissions API). >Is this by design or it's just an API bug? Jessica, did you mean updateIso? As UpdateIsoPermissions updates permissions only. Answering your question - if user can specify the flag when registering the template, he should be allowed to update it. > >(2) A normal user is NOT allowed to specify isfeatured property when >registering an ISO (through registerIso API), > >but allowed to update isfeatured property when updating an ISO (through >updateIsoPermissions API)? >Is this by design or it's just an API bug? Again, should be updateIso. And yes, its a bug if he can update the flag on existing object, but can't create the object with this flag by default. > >Jessica > >