mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: respect model permissions for tasks API endpoint (#6958)
This commit is contained in:
		| @@ -1654,7 +1654,7 @@ class RemoteVersionView(GenericAPIView): | ||||
|  | ||||
|  | ||||
| class TasksViewSet(ReadOnlyModelViewSet): | ||||
|     permission_classes = (IsAuthenticated,) | ||||
|     permission_classes = (IsAuthenticated, PaperlessObjectPermissions) | ||||
|     serializer_class = TasksViewSerializer | ||||
|  | ||||
|     def get_queryset(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon