feat: exporting tarball/sync doesn't require admin perms anymore

This commit is contained in:
Ruben Fiszel
2024-01-23 21:55:08 +01:00
parent 0b7bb2bd44
commit 1f71bdda85
3 changed files with 3 additions and 2 deletions

View File

@@ -1948,6 +1948,7 @@ where
async fn tarball_workspace(
authed: ApiAuthed,
Extension(user_db): Extension<UserDB>,
Extension(db): Extension<DB>,
Path(w_id): Path<String>,
Query(ArchiveQueryParams {
archive_type,

View File

@@ -40,7 +40,7 @@ export const settings: Record<string, Setting[]> = {
value.includes('://') &&
!value?.endsWith('/') &&
!value?.endsWith(' ')
: true
: false
},
{
label: 'Request Size Limit In MB',

View File

@@ -84,7 +84,7 @@
containerClasses="border rounded-lg shadow-lg p-4 bg-surface"
>
<svelte:fragment slot="button">
<Button size="md" startIcon={{ icon: Plus }} nonCaptureEvent>New folder name</Button>
<Button size="md" startIcon={{ icon: Plus }} nonCaptureEvent>New folder</Button>
</svelte:fragment>
<div class="flex flex-col gap-2">
<input