mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-22 11:01:23 +00:00
Unify API perm endpoint to set_permissions, initial frontend support for doc sharing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ObjectWithId } from './object-with-id'
|
||||
import { ObjectWithPermissions } from './object-with-permissions'
|
||||
|
||||
export const MATCH_ANY = 1
|
||||
export const MATCH_ALL = 2
|
||||
@@ -41,7 +41,7 @@ export const MATCHING_ALGORITHMS = [
|
||||
},
|
||||
]
|
||||
|
||||
export interface MatchingModel extends ObjectWithId {
|
||||
export interface MatchingModel extends ObjectWithPermissions {
|
||||
name?: string
|
||||
|
||||
slug?: string
|
||||
|
||||
Reference in New Issue
Block a user