Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Merge branch 'dev' into feature-permissions

Michael Shamoona08467342c8f
diff --cc src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html
index ba661304a,aef47b605..e7bdc8d75
--- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html
+++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html
@@@ -39,30 -38,27 +39,30 @@@
<app-filterable-dropdown class="me-2 me-md-3" title="Correspondent" icon="person-fill" i18n-title
filterPlaceholder="Filter correspondents" i18n-filterPlaceholder
[items]="correspondents"
+ [disabled]="!userCanEditAll"
[editing]="true"
[applyOnClose]="applyOnClose"
- (open)="openCorrespondentDropdown()"
+ (opened)="openCorrespondentDropdown()"
[(selectionModel)]="correspondentSelectionModel"
(apply)="setCorrespondents($event)">
</app-filterable-dropdown>
<app-filterable-dropdown class="me-2 me-md-3" title="Document type" icon="file-earmark-fill" i18n-title
filterPlaceholder="Filter document types" i18n-filterPlaceholder
[items]="documentTypes"
+ [disabled]="!userCanEditAll"
[editing]="true"
[applyOnClose]="applyOnClose"
- (open)="openDocumentTypeDropdown()"
+ (opened)="openDocumentTypeDropdown()"
[(selectionModel)]="documentTypeSelectionModel"
(apply)="setDocumentTypes($event)">
</app-filterable-dropdown>
<app-filterable-dropdown class="me-2 me-md-3" title="Storage path" icon="folder-fill" i18n-title
filterPlaceholder="Filter storage paths" i18n-filterPlaceholder
[items]="storagePaths"
+ [disabled]="!userCanEditAll"
[editing]="true"
[applyOnClose]="applyOnClose"
- (open)="openStoragePathDropdown()"
+ (opened)="openStoragePathDropdown()"
[(selectionModel)]="storagePathsSelectionModel"
(apply)="setStoragePaths($event)">
</app-filterable-dropdown>
diff --cc src/documents/views.py
index ac6f19c19,e313ae17e..734a2e8ac
--- a/src/documents/views.py
+++ b/src/documents/views.py
@@@ -669,10 -626,9 +669,10 @@@ class PostDocumentView(GenericAPIView)
override_tag_ids=tag_ids,
task_id=task_id,
override_created=created,
+ override_owner_id=owner_id,
)
- return Response("OK")
+ return Response(async_task.id)
class SelectionDataView(GenericAPIView):