class documentation
class DjangoModelPermissionsOrAnonReadOnly(DjangoModelPermissions): (source)
Similar to DjangoModelPermissions, except that anonymous users are allowed read-only access.
Class Variable | authenticated |
Undocumented |
Inherited from DjangoModelPermissions
:
Method | get |
Given a model and an HTTP method, return the list of permission codes that the user is required to have. |
Method | has |
Return `True` if permission is granted, `False` otherwise. |
Class Variable | perms |
Undocumented |
Method | _queryset |
Undocumented |
Inherited from BasePermission
(via DjangoModelPermissions
):
Method | has |
Return `True` if permission is granted, `False` otherwise. |