Comment 7 for bug 1735054

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

Reviewed: https://review.opencontrail.org/38508
Committed: http://github.com/Juniper/contrail-analytics/commit/a20d05b98abcc77a45f4e6bd19316fbc4a038fd8
Submitter: Zuul (<email address hidden>)
Branch: master

commit a20d05b98abcc77a45f4e6bd19316fbc4a038fd8
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Dec 20 22:49:58 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: I30959d645483740b2c753c4209442e013f94b9db
Closes-Bug: #1735054