]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: default to empty permissions for group creation (#10337)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 7 Jul 2025 14:21:27 +0000 (07:21 -0700)
committerGitHub <noreply@github.com>
Mon, 7 Jul 2025 14:21:27 +0000 (07:21 -0700)
src-ui/src/app/components/common/edit-dialog/group-edit-dialog/group-edit-dialog.component.ts

index bdb8f6d6258d2acb97775fb13ff1a99920fc58d9..4aeefb2a8ff635aad05b5ba46c8717847a3430f8 100644 (file)
@@ -43,7 +43,7 @@ export class GroupEditDialogComponent extends EditDialogComponent<Group> {
   getForm(): FormGroup {
     return new FormGroup({
       name: new FormControl(''),
-      permissions: new FormControl(null),
+      permissions: new FormControl([]),
     })
   }
 }