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

policies/hive/for-resource api call is returning deleted policies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • master
    • master, 2.1.0
    • Ranger
    • None

    Description

      Scenario:
      1. Create a policy in a hive service for database='testdb1'.
      2. Ensure that no tag service is associated with thisĀ  hive service.

      3. Delete all policies from the hive service.

      Although, a get call to fetch all policies in ranger does not return any policy for hive service, an api call <ranger_url>/service/public/v2/api/policies/hive/for-resource?resource:database='testdb1' returns deleted policies.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: