Skip to content

Glossary: Django Beyond the Basics

IsAuthenticated

Also written: IsAdminUser, IsAuthenticatedOrReadOnly

Built-in DRF permission classes. `IsAuthenticated` lets in any signed-in user, `IsAdminUser` only staff, and `IsAuthenticatedOrReadOnly` lets anyone read but only signed-in users write.

Where the book teaches it

Related terms

AllowAnyAuthentication class, permission class