[
https://issues.apache.org/jira/browse/CLOUDSTACK-6436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980349#comment-13980349
]
ASF subversion and git services commented on CLOUDSTACK-6436:
-------------------------------------------------------------
Commit 98d9b8fc3fe9bf5e016d7541c1c2c369139e65af in cloudstack's branch
refs/heads/4.4-forward from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=98d9b8f ]
CLOUDSTACK-6436: listResourceDetails - don't return entries set with
display=false, by default
> 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)