django-authorization

Last Updated :
Discuss
Comments

Which class in DRF allows unauthenticated users to read data while restricting write operations to authorized users?

AllowAny

IsAdminUser

DjangoModelPermissionsOrAnonReadOnly

IsAuthenticatedOrReadOnly

Tags:
Share your thoughts in the comments