mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Fix: respect model permissions for tasks API endpoint (#6958)
This commit is contained in:
parent
d9002005b1
commit
f225f72145
1 changed files with 1 additions and 1 deletions
|
|
@ -1654,7 +1654,7 @@ class RemoteVersionView(GenericAPIView):
|
|||
|
||||
|
||||
class TasksViewSet(ReadOnlyModelViewSet):
|
||||
permission_classes = (IsAuthenticated,)
|
||||
permission_classes = (IsAuthenticated, PaperlessObjectPermissions)
|
||||
serializer_class = TasksViewSerializer
|
||||
|
||||
def get_queryset(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue