Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2257

Add policyID to error message when click the Access log of Audit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • master
    • 2.0.0
    • Ranger
    • Patch

    Description

      Check the Access log of Audit in RangerAdmin,
      click on a log to see its corresponding policyID history,
      If the policyID does not exist, the following error will occur:
      No policy history found for given time: 2018-08-14T08:43:11Z
      Please check the following screenshots:
      https://issues.apache.org/jira/secure/attachment/12944645/OnlyTime.png
      The information given in the above error message does not give policyID information,
      which can lead to user confusion.
      Add policyID to modify the error message as follows:
      No policy history found for given policy ID: 1 and event time: 2018-08-14T08:43:11Z
      Modified screenshots:
      https://issues.apache.org/jira/secure/attachment/12944644/IDandTime.png

      Attachments

        1. 0001-RANGER-2257-Add-policyID-to-error-message-when-click.patch
          1 kB
          Qiang Zhang
        2. OnlyTime.png
          79 kB
          Qiang Zhang
        3. IDandTime.png
          80 kB
          Qiang Zhang

        Issue Links

          Activity

            People

              zhangqiang2 Qiang Zhang
              zhangqiang2 Qiang Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 12h
                  12h
                  Remaining:
                  Remaining Estimate - 12h
                  12h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified