class documentation

class DjangoModelPermissionsOrAnonReadOnly(DjangoModelPermissions): (source)

View In Hierarchy

Similar to DjangoModelPermissions, except that anonymous users are allowed read-only access.

Class Variable authenticated_users_only Undocumented

Inherited from DjangoModelPermissions:

Method get_required_permissions Given a model and an HTTP method, return the list of permission codes that the user is required to have.
Method has_permission Return `True` if permission is granted, `False` otherwise.
Class Variable perms_map Undocumented
Method _queryset Undocumented

Inherited from BasePermission (via DjangoModelPermissions):

Method has_object_permission Return `True` if permission is granted, `False` otherwise.