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

Single policy update increases policy history version by 2 - gives error to view history

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.5.2, 0.6.0
    • admin, audit
    • None

    Description

      Problem Statement

      When we update the object of policy ( i.e. when resource and policy item both are changed in single update), it increments value of version field by 2 rather than incrementing by 1. So it skips the sequence of version in DB and it looks like this

      1 2 4 6 8 10 .. etc

      And because of this we are facing issue in seeing snapshot of policy update from Access Audit -> Policy Snapshot popup.

      Attachments

        1. RANGER-831.patch
          6 kB
          Gautam Borad

        Issue Links

          Activity

            People

              gautamborad Gautam Borad
              gautamborad Gautam Borad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: