-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55141/
-----------------------------------------------------------
Review request for Ambari, Andrew Onischuk, Robert Levas, and Vitalyi
Brodetskyi.
Bugs: AMBARI-19341
https://issues.apache.org/jira/browse/AMBARI-19341
Repository: ambari
Description
-------
User is Not able to update the role for a given user.
Steps to reproduce :
1) Go to manage ambari and select roles.
2) Select list views.
3) Try to update the role for user.
The request DELET
/api/v1/clusters/cl1/privileges?PrivilegeInfo/privilege_id.in(2,12) is failing
with internal server error exception.
>From the initial analysis, privilege id 12 is the actual privilege and 2 is
>the one granted for views user.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/PrivilegeResourceProvider.java
07b98bd
Diff: https://reviews.apache.org/r/55141/diff/
Testing
-------
mvn clean test
Thanks,
Eugene Chekanskiy