Comment 6 for bug 1735054

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38354
Committed: http://github.com/Juniper/contrail-controller/commit/1ccb37c538787dcb6c3f1902beca009cf46a02f4
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 1ccb37c538787dcb6c3f1902beca009cf46a02f4
Author: Sundaresan Rajangam <email address hidden>
Date: Thu Dec 14 12:07:14 2017 -0800

Fix RBAC for /analytics/alarms API

For /analytics/alarms request, uve_type is not passed correctly to
get_resource_list_from_uve_type(). get_resource_list_from_uve_type()
expects user visible name for uve_type, where as alarms_http_get()
passes internal value of uve_type resulting in analytics-api throwing
error for non admin users.

Change-Id: I220ca397084ae9f6e3a4b6b723ea53267e2eeb34
Closes-Bug: #1735054