Authorizations - MarcoLagalla/marette_backend GitHub Wiki

Name Description
IsAdmin Allow action only by superusers
AllowAny Allow everyone, also by not authenticated
IsAuthenticated Allow only authenticated user
IsPostOrIsAdmin Allow POST by everyone and GET only by admin
IsOwner Allow only the owner of the object
IsBusiness Allow only business user