Vishal Bhavsar created RANGER-4732:
--------------------------------------

             Summary: Importing policies from one zone to another with 
different service mappings does not throw an error.
                 Key: RANGER-4732
                 URL: https://issues.apache.org/jira/browse/RANGER-4732
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Vishal Bhavsar
         Attachments: Screenshot from 2024-03-04 13-30-48.png

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:
 # Create a security zone named "zone1" with services HDFS, Hive, and Tag. 
Export the policies.
 # Create another security zone named "zone2" with services HDFS and Tag only.
 # 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.
 # Now click on import, observed the policies is getting imported successfully, 
despite the different source and destination service mappings.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to