From d1b3f21c1c788c00edb75d7b092d08aeb936876c Mon Sep 17 00:00:00 2001
From: Vishal Suvagia <vishalsuvagia@apache.org>
Date: Tue, 17 Jul 2018 11:20:30 +0530
Subject: [PATCH] ATLAS-2788 : Add policy permissions for tagsync user.

Signed-off-by: nixonrodrigues <nixon@apache.org>
---
 authorization/src/main/resources/atlas-simple-authz-policy.json | 3 ++-
 authorization/src/test/resources/atlas-simple-authz-policy.json | 3 ++-
 distro/src/conf/atlas-simple-authz-policy.json                  | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/authorization/src/main/resources/atlas-simple-authz-policy.json b/authorization/src/main/resources/atlas-simple-authz-policy.json
index 01104a8..457b8e8 100644
--- a/authorization/src/main/resources/atlas-simple-authz-policy.json
+++ b/authorization/src/main/resources/atlas-simple-authz-policy.json
@@ -49,7 +49,8 @@
   },
 
   "userRoles": {
-    "admin": [ "ROLE_ADMIN" ]
+    "admin": [ "ROLE_ADMIN" ],
+    "rangertagsync": [ "DATA_SCIENTIST" ]
   },
 
   "groupRoles": {
diff --git a/authorization/src/test/resources/atlas-simple-authz-policy.json b/authorization/src/test/resources/atlas-simple-authz-policy.json
index 01104a8..457b8e8 100644
--- a/authorization/src/test/resources/atlas-simple-authz-policy.json
+++ b/authorization/src/test/resources/atlas-simple-authz-policy.json
@@ -49,7 +49,8 @@
   },
 
   "userRoles": {
-    "admin": [ "ROLE_ADMIN" ]
+    "admin": [ "ROLE_ADMIN" ],
+    "rangertagsync": [ "DATA_SCIENTIST" ]
   },
 
   "groupRoles": {
diff --git a/distro/src/conf/atlas-simple-authz-policy.json b/distro/src/conf/atlas-simple-authz-policy.json
index 01104a8..457b8e8 100644
--- a/distro/src/conf/atlas-simple-authz-policy.json
+++ b/distro/src/conf/atlas-simple-authz-policy.json
@@ -49,7 +49,8 @@
   },
 
   "userRoles": {
-    "admin": [ "ROLE_ADMIN" ]
+    "admin": [ "ROLE_ADMIN" ],
+    "rangertagsync": [ "DATA_SCIENTIST" ]
   },
 
   "groupRoles": {
--
libgit2 0.27.1