[VNC API server] Fix get resource with specific fields
When a fields are specifying during read resource, the 'id_perms'
property is not fetch and the API code fails to validate the user
visibility on it. That fix also limit the response to requested fields
in certain cases.
That fields also endorse that props and refs were always returned
irrespective of what fields were requested when a resource is read.
Reviewed: https:/ /review. opencontrail. org/21681 github. org/Juniper/ contrail- controller/ commit/ 711a1f0a541218e 2fe5f51acf2760d 2cbeb95341
Committed: http://
Submitter: Zuul
Branch: master
commit 711a1f0a541218e 2fe5f51acf2760d 2cbeb95341
Author: Édouard Thuleau <email address hidden>
Date: Tue Jul 5 16:09:13 2016 +0200
[VNC API server] Fix get resource with specific fields
When a fields are specifying during read resource, the 'id_perms'
property is not fetch and the API code fails to validate the user
visibility on it. That fix also limit the response to requested fields
in certain cases.
That fields also endorse that props and refs were always returned
irrespective of what fields were requested when a resource is read.
Change-Id: I95e90f540d5c86 0c1b9b217e5a0ae e5d61402816
Closes-bug: #1599175