Commit 30a09955 by Mandar Ambawane Committed by nixonrodrigues

ATLAS-3645 :- Update default entity permission for labels and namespace resource…

ATLAS-3645 :- Update default entity permission for labels and namespace resource in atlas-simple-authz-policy.json Signed-off-by: 's avatarnixonrodrigues <nixon@apache.org>
parent ed2755dc
...@@ -267,7 +267,7 @@ public class AtlasSimpleAuthzPolicy implements Serializable { ...@@ -267,7 +267,7 @@ public class AtlasSimpleAuthzPolicy implements Serializable {
} }
public void setLabels(List<String> labels) { public void setLabels(List<String> labels) {
this.namespaces = labels; this.labels = labels;
} }
public List<String> getNamespaces() { public List<String> getNamespaces() {
......
...@@ -18,7 +18,10 @@ ...@@ -18,7 +18,10 @@
"privileges": [ ".*" ], "privileges": [ ".*" ],
"entityTypes": [ ".*" ], "entityTypes": [ ".*" ],
"entityIds": [ ".*" ], "entityIds": [ ".*" ],
"classifications": [ ".*" ] "classifications": [ ".*" ],
"labels" : [ ".*" ],
"namespaces" : [ ".*" ],
"attributes" :[ ".*" ]
} }
], ],
"relationshipPermissions": [ "relationshipPermissions": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment