Unify API perm endpoint to set_permissions, initial frontend support for doc sharing

This commit is contained in:
Michael Shamoon committed 2022-12-07 00:49:26 -08:00
1 parent 2973e4672a
commit 79da613cb6
12 files changed
+111 -117

No files matched your search

@@ -0,0 +1,8 @@
import { ObjectWithId } from './object-with-id'
import { PaperlessUser } from './paperless-user'
export interface ObjectWithPermissions extends ObjectWithId {
user?: PaperlessUser
permissions?: Array<[number, string]>
}