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:
parent
d56809b141
commit
25eb8b30f1
|
@ -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"]},
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue