Skip to content

Commit dde7d06

Browse files
Fix policy DB dependency
1 parent 1986170 commit dde7d06

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

diracx-routers/src/diracx/routers/jobs/sandboxes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ async def initiate_sandbox_upload(
5555
If the sandbox does not exist in the database then the "url" and "fields"
5656
should be used to upload the sandbox to the storage backend.
5757
"""
58-
await check_permissions(action=ActionType.CREATE)
58+
await check_permissions(
59+
action=ActionType.CREATE, sandbox_metadata_db=sandbox_metadata_db
60+
)
5961

6062
try:
6163
sandbox_upload_response = await initiate_sandbox_upload_bl(

0 commit comments

Comments
 (0)