mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 01:26:47 +01:00
Include permissions for mail rules & accounts
This commit is contained in:
parent
0beb9f0b5f
commit
23fefc3ab7
10 changed files with 243 additions and 74 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { ObjectWithId } from './object-with-id'
|
||||
import { ObjectWithPermissions } from './object-with-permissions'
|
||||
|
||||
export enum MailFilterAttachmentType {
|
||||
Attachments = 1,
|
||||
|
|
@ -31,7 +31,7 @@ export enum MailMetadataCorrespondentOption {
|
|||
FromCustom = 4,
|
||||
}
|
||||
|
||||
export interface PaperlessMailRule extends ObjectWithId {
|
||||
export interface PaperlessMailRule extends ObjectWithPermissions {
|
||||
name: string
|
||||
|
||||
account: number // PaperlessMailAccount.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue