fix: resolve issue with write permission on datasets not owned by current user
This commit is contained in:
parent
cb905bba45
commit
58aeb03688
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ async def run_pipeline(
|
|||
check_dataset_name(dataset.name)
|
||||
|
||||
# Will only be used if ENABLE_BACKEND_ACCESS_CONTROL is set to True
|
||||
await set_database_global_context_variables(dataset.name, user.id)
|
||||
await set_database_global_context_variables(dataset.id, dataset.owner_id)
|
||||
|
||||
# Ugly hack, but no easier way to do this.
|
||||
if pipeline_name == "add_pipeline":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue