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:
parent
d52e4dae75
commit
f80c52ba38
|
@ -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"))
|
||||||
|
|
|
@ -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"),
|
||||||
|
|
Loading…
Reference in New Issue