update basic permission set for callers to allow for processes to be passed in (#362)

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
jasquat 2023-06-29 09:35:18 -04:00 committed by GitHub
parent d52e4dae75
commit f80c52ba38
2 changed files with 2 additions and 2 deletions

View File

@ -501,7 +501,7 @@ class AuthorizationService:
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/process-groups")) permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/process-groups"))
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/process-models")) permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/process-models"))
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/processes")) permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/processes"))
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/processes/callers")) permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/processes/callers/*"))
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/service-tasks")) permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/service-tasks"))
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/user-groups/for-current-user")) permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/user-groups/for-current-user"))
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/users/search")) permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/users/search"))

View File

@ -285,7 +285,7 @@ class TestAuthorizationService(BaseTest):
("/process-instances/reports/*", "update"), ("/process-instances/reports/*", "update"),
("/process-models", "read"), ("/process-models", "read"),
("/processes", "read"), ("/processes", "read"),
("/processes/callers", "read"), ("/processes/callers/*", "read"),
("/service-tasks", "read"), ("/service-tasks", "read"),
("/tasks/*", "create"), ("/tasks/*", "create"),
("/tasks/*", "delete"), ("/tasks/*", "delete"),