Update permissions.md

I might just be misunderstanding something (always a strong possibility!), but it seems to me that the table on the Permissions page is slightly inaccurate.

For `permission_classes`, wouldn't it have global-level permissions for list actions (rather than no permission control, as is currently listed)?
This commit is contained in:
Matthew Pull 2021-11-17 07:24:21 +00:00 committed by GitHub
parent 0d5250cffa
commit 261666f938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,7 +286,7 @@ The following table lists the access restriction methods and the level of contro
| | `queryset` | `permission_classes` | `serializer_class` | | | `queryset` | `permission_classes` | `serializer_class` |
|------------------------------------|------------|----------------------|--------------------| |------------------------------------|------------|----------------------|--------------------|
| Action: list | global | no | object-level* | | Action: list | global | global | object-level* |
| Action: create | no | global | object-level | | Action: create | no | global | object-level |
| Action: retrieve | global | object-level | object-level | | Action: retrieve | global | object-level | object-level |
| Action: update | global | object-level | object-level | | Action: update | global | object-level | object-level |