[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13973392#comment-13973392
 ] 

ASF subversion and git services commented on CLOUDSTACK-6436:
-------------------------------------------------------------

Commit 59fa7a9c1b4f08a7c41f83e86426336c3052f935 in cloudstack's branch 
refs/heads/4.4 from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=59fa7a9 ]

CLOUDSTACK-6436: list* api commands with forDisplay parameter - don't return 
resources with display=false by default. ForDisplay=false has to be explicitly 
specified in the command


> 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)

Reply via email to