----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68191/#review206987 -----------------------------------------------------------
Ship it! Ship It! - Velmurugan Periasamy On Aug. 8, 2018, 12:03 p.m., bhavik patel wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/68191/ > ----------------------------------------------------------- > > (Updated Aug. 8, 2018, 12:03 p.m.) > > > 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 > https://issues.apache.org/jira/browse/RANGER-2182 > > > Repository: ranger > > > Description > ------- > > 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 > > > Diffs > ----- > > 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 > > security-admin/src/main/java/org/apache/ranger/patch/PatchForAtlasResourceAndAccessTypeUpdate_J10016.java > PRE-CREATION > > > Diff: https://reviews.apache.org/r/68191/diff/2/ > > > Testing > ------- > > 1. After upgrade from 1.x to 2.0 new default policy got created successfully > with newly added resources and access types. > > > Thanks, > > bhavik patel > >