mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: add permissions to OPTIONS requests for notes (#7661)
This commit is contained in:
parent
a64a182fc3
commit
f1559b7108
@ -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…
x
Reference in New Issue
Block a user