Skip to content

Commit

Permalink
12
Browse files Browse the repository at this point in the history
  • Loading branch information
fabilya committed Oct 1, 2023
1 parent 50d6a1c commit dd62c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ def has_object_permission(self, request, view, obj):
or request.user.is_authenticated
and request.user.is_staff
or request.user == obj.author
)
)

0 comments on commit dd62c38

Please sign in to comment.