From ba6bc9bf85e8a8b45727af7e80a8c989a5175abe Mon Sep 17 00:00:00 2001 From: dcore94 Date: Wed, 3 Mar 2021 20:16:36 +0100 Subject: [PATCH] finalization of new permission with policies --- templates/group_created.json.j2 | 36 ++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/templates/group_created.json.j2 b/templates/group_created.json.j2 index 2ced2b2..aeba03a 100644 --- a/templates/group_created.json.j2 +++ b/templates/group_created.json.j2 @@ -326,7 +326,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -383,7 +384,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -440,7 +442,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -497,7 +500,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -554,7 +558,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -611,7 +616,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -668,7 +674,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -725,7 +732,8 @@ "method" : "POST", "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}", - "Content-Type" : "application/json" + "Content-Type" : "application/json", + "Accept" : "application/json" } } } @@ -735,7 +743,17 @@ { "name" : "join", "taskReferenceName" : "join_role_creation", - "type" : "JOIN" + "type" : "JOIN", + "joinOn" : [ + "create_role_policy_accountingmanager", + "create_role_policy_catalogueadmin", + "create_role_policy_catalogueeditor", + "create_role_policy_datamanager", + "create_role_policy_dataminermanager", + "create_role_policy_voadmin", + "create_role_policy_vredesigner", + "create_role_policy_vremanager" + ] }, { "name" : "pyrest",