added remaining path segment all perms to elevated options (#326)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
parent
7ab4d40ff4
commit
a14072c0b6
|
@ -532,11 +532,13 @@ class AuthorizationService:
|
|||
permissions_to_assign.append(PermissionToAssign(permission="create", target_uri="/send-event/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="create", target_uri="/task-complete/*"))
|
||||
|
||||
# read comes from PG and PM permissions
|
||||
# read comes from PG and PM ALL permissions as well
|
||||
permissions_to_assign.append(PermissionToAssign(permission="update", target_uri="/task-data/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/task-data/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/process-data/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/event-error-details/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/logs/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/process-data-file-download/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/process-data/*"))
|
||||
permissions_to_assign.append(PermissionToAssign(permission="read", target_uri="/task-data/*"))
|
||||
|
||||
for permission in ["create", "read", "update", "delete"]:
|
||||
permissions_to_assign.append(PermissionToAssign(permission=permission, target_uri="/process-instances/*"))
|
||||
|
|
|
@ -311,6 +311,8 @@ class TestAuthorizationService(BaseTest):
|
|||
("/authentications", "read"),
|
||||
("/can-run-privileged-script/*", "create"),
|
||||
("/debug/*", "create"),
|
||||
("/event-error-details/*", "read"),
|
||||
("/logs/*", "read"),
|
||||
("/messages", "read"),
|
||||
("/messages/*", "create"),
|
||||
("/process-data-file-download/*", "read"),
|
||||
|
|
Loading…
Reference in New Issue