Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-3364

normal users are not allowed to edit their own iso

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.2.0
    • 4.3.0
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Repro steps:
      1.Create a domain
      2.create a account under that domain
      3.create a ISO as a account under the non root domain
      4.Edit the ISO

      BUg :
      gets message:
      Only ROOT admins are allowed to modify this attribute.

      API:
      http://10.147.38.141:8080/client/api?command=updateIsoPermissions&response=json&sessionkey=8rczMjm4sfljFOEi6dL2xT631sc%3D&id=2b8c87a0-4325-418d-80af-ce6f691edcd7&zoneid=bfdf7ac5-16c3-491e-aabd-f7ad696612b8&ispublic=false&isfeatured=false&isextractable=false&_=1372941865923

      response:
      { "updateisopermissionsresponse" :

      {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Only ROOT admins are allowed to modify this attribute."}

      }

      This may be because in case of edit ISO we show extractable and featured field as editable to normal user , which normal user is not allowed to do and api passes these as parameters

      In case of template these fields are shown as non editable hence API passed does not contain isfeatured and isextractable fields

      Attachments

        Issue Links

          Activity

            People

              nitinme Nitin Mehta
              shweta.agarwal@citrix.com shweta agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: