diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index cdeb8927e5..4076343f5a 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -15ddca63acd769e4e7355269a239639c50989def \ No newline at end of file +eec544f334523171a3143ce382090d8bd80a23a7 \ No newline at end of file diff --git a/backend/windmill-api/src/workspaces.rs b/backend/windmill-api/src/workspaces.rs index 95149799c4..9c0cbc1922 100644 --- a/backend/windmill-api/src/workspaces.rs +++ b/backend/windmill-api/src/workspaces.rs @@ -1221,7 +1221,7 @@ async fn get_encryption_key( Extension(db): Extension, Path(w_id): Path, ) -> JsonResult { - require_super_admin(&db, &authed.email).await?; + require_admin(authed.is_admin, &authed.username)?; let encryption_key_opt = sqlx::query_scalar!( "SELECT key FROM workspace_key WHERE workspace_id = $1", diff --git a/frontend/src/lib/components/ArrayTypeNarrowing.svelte b/frontend/src/lib/components/ArrayTypeNarrowing.svelte index 39aa02ce59..8e2fe827c3 100644 --- a/frontend/src/lib/components/ArrayTypeNarrowing.svelte +++ b/frontend/src/lib/components/ArrayTypeNarrowing.svelte @@ -124,7 +124,7 @@ {/each} - {#if canEditResourceType || originalType == 'string[]'} + {#if canEditResourceType || originalType == 'string[]' || originalType == 'object[]'}