mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
fix for a couple of missing words (#6444)
This commit is contained in:
parent
7c6e34c14f
commit
3c5c61f33b
|
@ -10,9 +10,9 @@ Together with [authentication] and [throttling], permissions determine whether a
|
||||||
|
|
||||||
Permission checks are always run at the very start of the view, before any other code is allowed to proceed. Permission checks will typically use the authentication information in the `request.user` and `request.auth` properties to determine if the incoming request should be permitted.
|
Permission checks are always run at the very start of the view, before any other code is allowed to proceed. Permission checks will typically use the authentication information in the `request.user` and `request.auth` properties to determine if the incoming request should be permitted.
|
||||||
|
|
||||||
Permissions are used to grant or deny access different classes of users to different parts of the API.
|
Permissions are used to grant or deny access for different classes of users to different parts of the API.
|
||||||
|
|
||||||
The simplest style of permission would be to allow access to any authenticated user, and deny access to any unauthenticated user. This corresponds the `IsAuthenticated` class in REST framework.
|
The simplest style of permission would be to allow access to any authenticated user, and deny access to any unauthenticated user. This corresponds to the `IsAuthenticated` class in REST framework.
|
||||||
|
|
||||||
A slightly less strict style of permission would be to allow full access to authenticated users, but allow read-only access to unauthenticated users. This corresponds to the `IsAuthenticatedOrReadOnly` class in REST framework.
|
A slightly less strict style of permission would be to allow full access to authenticated users, but allow read-only access to unauthenticated users. This corresponds to the `IsAuthenticatedOrReadOnly` class in REST framework.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user