give read access to process-data for all permission macro w/ burnettk
This commit is contained in:
parent
866346f47b
commit
45eb61f974
|
@ -73,6 +73,7 @@ PATH_SEGMENTS_FOR_PERMISSION_ALL = [
|
||||||
{"path": "/process-instance-suspend", "relevant_permissions": ["create"]},
|
{"path": "/process-instance-suspend", "relevant_permissions": ["create"]},
|
||||||
{"path": "/process-instance-terminate", "relevant_permissions": ["create"]},
|
{"path": "/process-instance-terminate", "relevant_permissions": ["create"]},
|
||||||
{"path": "/task-data", "relevant_permissions": ["read", "update"]},
|
{"path": "/task-data", "relevant_permissions": ["read", "update"]},
|
||||||
|
{"path": "/process-data", "relevant_permissions": ["read"]},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -158,6 +158,7 @@ class TestAuthorizationService(BaseTest):
|
||||||
"""Test_explode_permissions_all_on_process_group."""
|
"""Test_explode_permissions_all_on_process_group."""
|
||||||
expected_permissions = [
|
expected_permissions = [
|
||||||
("/logs/some-process-group:some-process-model:*", "read"),
|
("/logs/some-process-group:some-process-model:*", "read"),
|
||||||
|
("/process-data/some-process-group:some-process-model:*", "read"),
|
||||||
("/process-groups/some-process-group:some-process-model:*", "create"),
|
("/process-groups/some-process-group:some-process-model:*", "create"),
|
||||||
("/process-groups/some-process-group:some-process-model:*", "delete"),
|
("/process-groups/some-process-group:some-process-model:*", "delete"),
|
||||||
("/process-groups/some-process-group:some-process-model:*", "read"),
|
("/process-groups/some-process-group:some-process-model:*", "read"),
|
||||||
|
@ -219,6 +220,7 @@ class TestAuthorizationService(BaseTest):
|
||||||
"""Test_explode_permissions_all_on_process_model."""
|
"""Test_explode_permissions_all_on_process_model."""
|
||||||
expected_permissions = [
|
expected_permissions = [
|
||||||
("/logs/some-process-group:some-process-model/*", "read"),
|
("/logs/some-process-group:some-process-model/*", "read"),
|
||||||
|
("/process-data/some-process-group:some-process-model/*", "read"),
|
||||||
(
|
(
|
||||||
"/process-instance-suspend/some-process-group:some-process-model/*",
|
"/process-instance-suspend/some-process-group:some-process-model/*",
|
||||||
"create",
|
"create",
|
||||||
|
|
Loading…
Reference in New Issue