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

Importing policies from one zone to another with different service mappings does not throw an error.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ranger
    • None

    Description

      When attempting to export policies from a  zone, such as "zone1," containing services like HDFS, Hive, and Tag, and importing them into a destination zone, like "zone2," with different services (HDFS and Tag only), an issue arises. Despite selecting different source and destination service mappings during import, the policies are imported successfully, and no error is thrown.

       

      Steps to reproduce:

      1. Create a security zone named "zone1" with services HDFS, Hive, and Tag. Export the policies.
      2. Create another security zone named "zone2" with services HDFS and Tag only.
      3. Import the exported policies from "zone1" into "zone2". While importing, select Override checkbox and select cm_tag next to Hive service in the Destination. Snapshot attached of the import modal.
      4. Now click on import, observed the policies is getting imported successfully, despite the different source and destination service mappings.

       

      Attachments

        Activity

          People

            Dhaval.Rajpara Dhaval Rajpara
            vishalbhavsar Vishal Bhavsar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: