Skip to content

Commit

Permalink
Merge pull request #63 from zooniverse/zoobot-upgrade-testing
Browse files Browse the repository at this point in the history
set auto_user ElevationLevel to admin
  • Loading branch information
Tooyosi authored Dec 17, 2024
2 parents ba7f5eb + bf2fb17 commit bc22222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bajor/batch/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def create_batch_job(job_id, manifest_url, pool_id, checkpoint_target='ZOOBOT_CH
user_identity = batchmodels.UserIdentity(
auto_user=batchmodels.AutoUserSpecification(
scope=batchmodels.AutoUserScope.task,
elevation_level=batchmodels.ElevationLevel.non_admin
elevation_level=batchmodels.ElevationLevel.admin
)
),
#
Expand Down
2 changes: 1 addition & 1 deletion bajor/batch/train_finetuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def create_batch_job(job_id, manifest_container_path, pool_id, checkpoint_target
user_identity = batchmodels.UserIdentity(
auto_user=batchmodels.AutoUserSpecification(
scope=batchmodels.AutoUserScope.task,
elevation_level=batchmodels.ElevationLevel.non_admin
elevation_level=batchmodels.ElevationLevel.admin
)
),
environment_settings=[
Expand Down

0 comments on commit bc22222

Please sign in to comment.