You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ma...@apache.org on 2018/07/01 06:42:15 UTC
ranger git commit: RANGER-2145: updated service-def for Atlas to
remove access-type entity-read-classification
Repository: ranger
Updated Branches:
refs/heads/master 3c18a99c2 -> 4209b8d96
RANGER-2145: updated service-def for Atlas to remove access-type entity-read-classification
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/4209b8d9
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/4209b8d9
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/4209b8d9
Branch: refs/heads/master
Commit: 4209b8d96abf6e827aa320653ba227a6c0c5abdb
Parents: 3c18a99
Author: Madhan Neethiraj <ma...@apache.org>
Authored: Sat Jun 30 14:49:26 2018 -0700
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Sat Jun 30 14:49:26 2018 -0700
----------------------------------------------------------------------
.../service-defs/ranger-servicedef-atlas.json | 15 +++++----------
.../policyengine/test_policyengine_atlas.json | 1 -
.../rest/importPolicy/import_policy_test_file.json | 4 ----
3 files changed, 5 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/4209b8d9/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
----------------------------------------------------------------------
diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
index 6523b40..8838f41 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
@@ -94,7 +94,7 @@
},
"label": "Entity ID",
"description": "Entity ID",
- "accessTypeRestrictions": [ "entity-read", "entity-create", "entity-update", "entity-delete", "entity-read-classification", "entity-add-classification", "entity-update-classification", "entity-remove-classification" ]
+ "accessTypeRestrictions": [ "entity-read", "entity-create", "entity-update", "entity-delete", "entity-add-classification", "entity-update-classification", "entity-remove-classification" ]
},
{
"itemId": 6,
@@ -153,31 +153,26 @@
},
{
"itemId": 8,
- "name": "entity-read-classification",
- "label": "Read Classification"
- },
- {
- "itemId": 9,
"name": "entity-add-classification",
"label": "Add Classification"
},
{
- "itemId": 10,
+ "itemId": 9,
"name": "entity-update-classification",
"label": "Update Classification"
},
{
- "itemId": 11,
+ "itemId": 10,
"name": "entity-remove-classification",
"label": "Remove Classification"
},
{
- "itemId": 12,
+ "itemId": 11,
"name": "admin-export",
"label": "Admin Export"
},
{
- "itemId": 13,
+ "itemId": 12,
"name": "admin-import",
"label": "Admin Import"
}
http://git-wip-us.apache.org/repos/asf/ranger/blob/4209b8d9/agents-common/src/test/resources/policyengine/test_policyengine_atlas.json
----------------------------------------------------------------------
diff --git a/agents-common/src/test/resources/policyengine/test_policyengine_atlas.json b/agents-common/src/test/resources/policyengine/test_policyengine_atlas.json
index 1f7c93b..8275df4 100644
--- a/agents-common/src/test/resources/policyengine/test_policyengine_atlas.json
+++ b/agents-common/src/test/resources/policyengine/test_policyengine_atlas.json
@@ -14,7 +14,6 @@
{"name":"entity-create","label":"Create Entity"},
{"name":"entity-update","label":"Update Entity"},
{"name":"entity-delete","label":"Delete Entity"},
- {"name":"entity-read-classification","label":"Read Entity Classification"},
{"name":"entity-add-classification","label":"Add Entity Classification"},
{"name":"entity-update-classification","label":"Update Entity Classification"},
{"name":"entity-remove-classification","label":"Remove Entity Classification"}
http://git-wip-us.apache.org/repos/asf/ranger/blob/4209b8d9/security-admin/src/test/java/org/apache/ranger/rest/importPolicy/import_policy_test_file.json
----------------------------------------------------------------------
diff --git a/security-admin/src/test/java/org/apache/ranger/rest/importPolicy/import_policy_test_file.json b/security-admin/src/test/java/org/apache/ranger/rest/importPolicy/import_policy_test_file.json
index 70ebe06..122177b 100644
--- a/security-admin/src/test/java/org/apache/ranger/rest/importPolicy/import_policy_test_file.json
+++ b/security-admin/src/test/java/org/apache/ranger/rest/importPolicy/import_policy_test_file.json
@@ -117,10 +117,6 @@
"isAllowed": true
},
{
- "type": "entity-read-classification",
- "isAllowed": true
- },
- {
"type": "entity-add-classification",
"isAllowed": true
},