From b08a1466b75bd538996d6bca040e7f8a29a6bc24 Mon Sep 17 00:00:00 2001 From: Sven Ketelsen Date: Wed, 30 Mar 2022 13:16:50 +0200 Subject: [PATCH] bugfix: management backup process process deletion --- smardigo/backup/policy/policy.json | 9 ++++++++- .../backup/role-policy-mapping/role-policy-mapping.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/smardigo/backup/policy/policy.json b/smardigo/backup/policy/policy.json index 2bea66b..f65ee84 100644 --- a/smardigo/backup/policy/policy.json +++ b/smardigo/backup/policy/policy.json @@ -2,7 +2,14 @@ "configKey" : "policy", "configType" : "policy", "name" : "Policies", - "policies" : [ { + "policies" : [ { "policies" : [ { + "id" : "allow_delete_process_all", + "name" : "Processes delete all", + "effect" : "allow", + "actions" : [ "delete" ], + "resources" : [ "processes:primary-process" ], + "conditions" : [ ] + }, { "id" : "allow_read_write_variables_all", "name" : "Variables read/write all", "effect" : "allow", diff --git a/smardigo/backup/role-policy-mapping/role-policy-mapping.json b/smardigo/backup/role-policy-mapping/role-policy-mapping.json index 937aef3..3edd87f 100644 --- a/smardigo/backup/role-policy-mapping/role-policy-mapping.json +++ b/smardigo/backup/role-policy-mapping/role-policy-mapping.json @@ -4,6 +4,6 @@ "configType" : "role-policy-mapping", "rolePolicyMapping" : { "maintainer" : [ "allow_read_write_variables_all" ], - "administrator" : [ "allow_read_write_variables_all" ] + "administrator" : [ "allow_delete_process_all" ] } } \ No newline at end of file