Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25454

API exception on trying to assign permission to user group with custom Ambari Views

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              hapylestat Dmytro Grinenko
              Reporter:
              hapylestat Dmytro Grinenko

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment