mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
commit
9b4bf66245
|
@ -143,7 +143,7 @@ Once you've created a few code snippets, navigate to the '/users/' endpoint, and
|
||||||
|
|
||||||
## Object level permissions
|
## Object level permissions
|
||||||
|
|
||||||
Really we'd like all code snippets to be visible to anyone, but also make sure that only the user that created a code snippet is able update or delete it.
|
Really we'd like all code snippets to be visible to anyone, but also make sure that only the user that created a code snippet is able to update or delete it.
|
||||||
|
|
||||||
To do that we're going to need to create a custom permission.
|
To do that we're going to need to create a custom permission.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user