diff --git a/src/lib/actions/analytics.ts b/src/lib/actions/analytics.ts index 744a4e351..c92652401 100644 --- a/src/lib/actions/analytics.ts +++ b/src/lib/actions/analytics.ts @@ -226,6 +226,7 @@ export enum Submit { FunctionUpdateLogging = 'submit_function_update_logging', FunctionUpdateTimeout = 'submit_function_update_timeout', FunctionUpdateEvents = 'submit_function_update_events', + FunctionUpdateScopes = 'submit_function_update_scopes', FunctionConnectRepo = 'submit_function_connect_repo', FunctionDisconnectRepo = 'submit_function_disconnect_repo', FunctionRedeploy = 'submit_function_redeploy', diff --git a/src/routes/console/project-[project]/functions/function-[function]/settings/updateScopes.svelte b/src/routes/console/project-[project]/functions/function-[function]/settings/updateScopes.svelte new file mode 100644 index 000000000..9679d08b6 --- /dev/null +++ b/src/routes/console/project-[project]/functions/function-[function]/settings/updateScopes.svelte @@ -0,0 +1,91 @@ + + +
+ + Scopes +

+ Select scopes to grant the dynamic key generated temporarily for your function. It is + best practice to allow only necessary permissions. Learn more. +

+ + {#if functionScopes !== null} + + {/if} + + + + + +
+