summaryrefslogtreecommitdiffstats
path: root/components/aai-gizmo/resources/config/auth/crud_policy.json
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2019-08-05 12:01:16 -0400
committerJimmy Forsyth <jf2512@att.com>2019-08-05 12:01:21 -0400
commit54668628a12b389d40853c58330977a70bd4795d (patch)
treedb54b41c2ebb081a387ed38313144cd8d811f32e /components/aai-gizmo/resources/config/auth/crud_policy.json
parent9562687244f2384dd47e2da3b9c8e98f0df2d3f3 (diff)
Disable non-workflow mS in helm charts
Issue-ID: AAI-2558 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I06b4049b2e5c0bae734b4619abd6298a99ae2a11
Diffstat (limited to 'components/aai-gizmo/resources/config/auth/crud_policy.json')
-rw-r--r--components/aai-gizmo/resources/config/auth/crud_policy.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/components/aai-gizmo/resources/config/auth/crud_policy.json b/components/aai-gizmo/resources/config/auth/crud_policy.json
new file mode 100644
index 0000000..7a5007e
--- /dev/null
+++ b/components/aai-gizmo/resources/config/auth/crud_policy.json
@@ -0,0 +1,18 @@
+{
+ "roles": [
+ {
+ "name": "admin",
+ "functions": [
+ {
+ "name": "crud", "methods": [ { "name": "GET" },{ "name": "DELETE" }, { "name": "PUT" }, { "name": "POST" }, { "name": "PATCH"} ]
+ }
+ ],
+
+ "users": [
+ {
+ "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file