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

Incorrect processing of downloaded policies in plugin when policy-deltas are enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.5.0
    • Ranger
    • None

    Description

      When policy deltas are enabled, and there is no material change in policy-set after previous policy download processed by Ranger admin, the ServicePolicies object downloaded contains null value instead of an empty list for policyDeltas attribute because of change made to the annotations by RANGER-3948. As the plugin considers empty-list value differently than null value, the policy-engine built by the plugin does not correctly reflect the existing policy-set, and leads to incorrect authorization result.

       

      A material change to policy-set indicates that there is at least one policy added/deleted/updated to previous policy-set.

       

      Attachments

        Activity

          People

            abhayk Abhay Kulkarni
            abhayk Abhay Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: