mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-20 00:56:26 +00:00
Unify API perm endpoint to set_permissions
, initial frontend support for doc sharing
This commit is contained in:
8
src-ui/src/app/data/object-with-permissions.ts
Normal file
8
src-ui/src/app/data/object-with-permissions.ts
Normal file
@@ -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]>
|
||||
}
|
Reference in New Issue
Block a user