give user access to pi for-me with all perm to process group w/ burnettk (#371)

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
jasquat 2023-07-05 14:47:15 -04:00 committed by GitHub
parent d56809b141
commit 25eb8b30f1
2 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,10 @@ PATH_SEGMENTS_FOR_PERMISSION_ALL = [
"path": "/process-instances",
"relevant_permissions": ["create", "read", "delete"],
},
{
"path": "/process-instances/for-me",
"relevant_permissions": ["read"],
},
{"path": "/process-data", "relevant_permissions": ["read"]},
{"path": "/process-data-file-download", "relevant_permissions": ["read"]},
{"path": "/process-instance-suspend", "relevant_permissions": ["create"]},

View File

@ -129,6 +129,7 @@ class TestAuthorizationService(BaseTest):
"/process-instances/some-process-group:some-process-model:*",
"delete",
),
("/process-instances/for-me/some-process-group:some-process-model:*", "read"),
("/process-instances/some-process-group:some-process-model:*", "read"),
("/process-model-natural-language/some-process-group:some-process-model:*", "create"),
("/process-model-publish/some-process-group:some-process-model:*", "create"),
@ -213,6 +214,7 @@ class TestAuthorizationService(BaseTest):
"/process-instances/some-process-group:some-process-model/*",
"delete",
),
("/process-instances/for-me/some-process-group:some-process-model/*", "read"),
("/process-instances/some-process-group:some-process-model/*", "read"),
("/process-model-natural-language/some-process-group:some-process-model/*", "create"),
("/process-model-publish/some-process-group:some-process-model/*", "create"),