ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhavik patel <bhavikpatel...@gmail.com>
Subject Review Request 68191: RANGER-2182 : Handle upgrade scenario since atlas-service def is added with new resources for relationship
Date Wed, 08 Aug 2018 09:29:23 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul
Parikh, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.

Bugs: RANGER-2182

Repository: ranger


Handle upgrade scenario in Ranger since atlas-service def is added with new resources for
relationship authorization after 1.x release.

In addition to handling service-def updates, the upgrade should add a policy that lets all
users be able to create all relationships:

resources: relationship-type=, end-one-entity-type=, end-one-entity-classification=, end-one-entity=,
end-two-entity-type=, end-two-entity-classification=, end-two-entity=*
groups: public
accessTypes: add-relationship, update-relationship, remove-relationship


  agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json 8838f41 
  security-admin/db/mysql/optimized/current/ranger_core_db_mysql.sql e82df40 
  security-admin/db/oracle/optimized/current/ranger_core_db_oracle.sql 9aadbde 
  security-admin/db/postgres/optimized/current/ranger_core_db_postgres.sql 4766910 
  security-admin/db/sqlanywhere/optimized/current/ranger_core_db_sqlanywhere.sql 82f638d 
  security-admin/db/sqlserver/optimized/current/ranger_core_db_sqlserver.sql 46d92c9 

Diff: https://reviews.apache.org/r/68191/diff/1/


1. After upgrade from 1.x to 2.0 new default policy got created successfully with newly added
resources and access types.


bhavik patel

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message