----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68190/ -----------------------------------------------------------
Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, and Sarath Subramanian. Bugs: ATLAS-2809 https://issues.apache.org/jira/browse/ATLAS-2809 Repository: atlas Description ------- This patch adds authorization to relationship end points in SimpleAuthorization. For following Action. RELATIONSHIP_ADD( "add-relationship"), RELATIONSHIP_UPDATE("update-relationship"), RELATIONSHIP_REMOVE("remove-relationship"); Diffs ----- authorization/src/main/java/org/apache/atlas/authorize/AtlasAuthorizationUtils.java a0d78eb32 authorization/src/main/java/org/apache/atlas/authorize/AtlasAuthorizer.java 563485e3b authorization/src/main/java/org/apache/atlas/authorize/AtlasNoneAuthorizer.java 9f8f7acb7 authorization/src/main/java/org/apache/atlas/authorize/AtlasPrivilege.java 3cb7f655d authorization/src/main/java/org/apache/atlas/authorize/AtlasRelationshipAccessRequest.java PRE-CREATION authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasSimpleAuthorizer.java 47c44ccc4 authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasSimpleAuthzPolicy.java e2a8b7f26 authorization/src/main/resources/atlas-simple-authz-policy.json 01104a8d9 authorization/src/test/resources/atlas-simple-authz-policy.json 01104a8d9 distro/src/conf/atlas-simple-authz-policy.json 01104a8d9 repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java c1aca45ad Diff: https://reviews.apache.org/r/68190/diff/1/ Testing ------- Performed testing from UI. File Attachments ---------------- RangerAuthz servicedef JSON https://reviews.apache.org/media/uploaded/files/2018/08/03/b07f608d-1bcc-4a99-a1d0-3effd802a4b7__ranger-servicedef-atlas-1.json Thanks, Nixon Rodrigues