High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): create user as admin (#23026)
Jason Rasmussen67f093f75be4
diff --git a/web/src/lib/modals/UserCreateModal.svelte b/web/src/lib/modals/UserCreateModal.svelteindex a47ae7e94b..1a1f46d1d5 100644--- a/web/src/lib/modals/UserCreateModal.svelte+++ b/web/src/lib/modals/UserCreateModal.svelte@@ -35,6 +35,7 @@let name = $state('');let shouldChangePassword = $state(true);let notify = $state(true);+ let isAdmin = $state(false);let quotaSize: string | undefined = $state();let isCreatingUser = $state(false);@@ -67,6 +68,7 @@name,quotaSizeInBytes,notify,+ isAdmin,},});@@ -127,6 +129,10 @@<HelperText color="danger">{$t('errors.quota_higher_than_disk_size')}</HelperText>{/if}</Field>++ <Field label={$t('admin.admin_user')}>+ <Switch bind:checked={isAdmin} />+ </Field></Stack></form></ModalBody>