Dmytro Grinenko created AMBARI-25454:
----------------------------------------

             Summary: API exception on trying to assign permission to user 
group with custom Ambari Views
                 Key: AMBARI-25454
                 URL: https://issues.apache.org/jira/browse/AMBARI-25454
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server, ambari-views
    Affects Versions: 2.6.0
            Reporter: Dmytro Grinenko
            Assignee: Dmytro Grinenko
             Fix For: trunk


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to