mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 23:05:42 +01:00
Fix: add permissions to OPTIONS requests for notes (#7661)
This commit is contained in:
parent
a64a182fc3
commit
f1559b7108
1 changed files with 1 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ class PaperlessNotePermissions(BasePermission):
|
|||
"""
|
||||
|
||||
perms_map = {
|
||||
"OPTIONS": ["documents.view_note"],
|
||||
"GET": ["documents.view_note"],
|
||||
"POST": ["documents.add_note"],
|
||||
"DELETE": ["documents.delete_note"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue