Skip to content

Commit 04f39c4

Browse files
AminHPsalarnasiri
andauthored
Add drf-psq package to docs (#7451)
* Add drf-psq to third party packages * Add drf-psq to permissions.md this package is an extension that gives support for having action-based **permission_classes**, **serializer_class**, and **queryset** dependent on permission-based rules. Co-authored-by: Salar Nasiri <[email protected]>
1 parent 327cbef commit 04f39c4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/api-guide/permissions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,11 @@ The [Django REST Framework API Key][djangorestframework-api-key] package provide
312312

313313
The [Django Rest Framework Role Filters][django-rest-framework-role-filters] package provides simple filtering over multiple types of roles.
314314

315+
## Django Rest Framework PSQ
316+
317+
The [Django Rest Framework PSQ][drf-psq] package is an extension that gives support for having action-based **permission_classes**, **serializer_class**, and **queryset** dependent on permission-based rules.
318+
319+
315320
[cite]: https://developer.apple.com/library/mac/#documentation/security/Conceptual/AuthenticationAndAuthorizationGuide/Authorization/Authorization.html
316321
[authentication]: authentication.md
317322
[throttling]: throttling.md
@@ -328,3 +333,4 @@ The [Django Rest Framework Role Filters][django-rest-framework-role-filters] pac
328333
[django-rest-framework-role-filters]: https://github.com/allisson/django-rest-framework-role-filters
329334
[django-rest-framework-guardian]: https://github.com/rpkilby/django-rest-framework-guardian
330335
[drf-access-policy]: https://github.com/rsinger86/drf-access-policy
336+
[drf-psq]: https://github.com/drf-psq/drf-psq

docs/community/third-party-packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
198198
* [rest_condition][rest-condition] - Another extension for building complex permissions in a simple and convenient way.
199199
* [dry-rest-permissions][dry-rest-permissions] - Provides a simple way to define permissions for individual api actions.
200200
* [drf-access-policy][drf-access-policy] - Declarative and flexible permissions inspired by AWS' IAM policies.
201+
* [drf-psq][drf-psq] - An extension that gives support for having action-based **permission_classes**, **serializer_class**, and **queryset** dependent on permission-based rules.
201202

202203
### Serializers
203204

@@ -360,3 +361,4 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
360361
[djangorestframework-features]: https://github.com/cloudcode-hungary/django-rest-framework-features/
361362
[django-elasticsearch-dsl-drf]: https://github.com/barseghyanartur/django-elasticsearch-dsl-drf
362363
[django-api-client]: https://github.com/rhenter/django-api-client
364+
[drf-psq]: https://github.com/drf-psq/drf-psq

0 commit comments

Comments
 (0)