You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Alena Prokharchyk (JIRA)" <ji...@apache.org> on 2014/04/17 22:39:20 UTC

[jira] [Created] (CLOUDSTACK-6436) CS objects with "forDisplay" flag should be returned to the API only when forDisplay is explicitly set to false in the request

Alena Prokharchyk created CLOUDSTACK-6436:
---------------------------------------------

             Summary: CS objects with "forDisplay" flag should be returned to the API only when forDisplay is explicitly set to false in the request
                 Key: CLOUDSTACK-6436
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6436
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.4.0
            Reporter: Alena Prokharchyk
            Assignee: Alena Prokharchyk
             Fix For: 4.4.0


Certain resources in CS can be disabled from display for the regular user so he never sees them/or being charged for them. User can never request those resources via API.

Admin can do it by providing forDisplay=false flag in corresponding API request.

Bug: in the current code, the display=false resources are returned when forDisplay is not specified. It has to work this way instead:

* no display is passed to the call. Return only objects set with display=true
* display=false is passed to the call. Return only objects with display=false
* display=true is passed to the call. Return only objects with display=true



--
This message was sent by Atlassian JIRA
(v6.2#6252)