Issue appears when logic trying to fetch allowed statuses for the request scope. The problem is that views are pushed to the request scope and have no allowance to have Ambari admin permissions.
Here are several ways to solve the problem:
- do not include views for such kind of the request to the scope
- instead of failing, give a warning to the log, and if there are no objects left in the scope, show to the user last warning in return
The less intrusive way is to done it in a second way as first way may change the logic of how it currently work