class documentation
class DjangoObjectPermissions(DjangoModelPermissions): (source)
The request is authenticated using Django's object-level permissions. It requires an object-permissions-enabled backend, such as Django Guardian. It ensures that the user is authenticated, and has the appropriate `add`/`change`/`delete` permissions on the object using .has_perms. This permission can only be applied against view classes that provide a `.queryset` attribute.
Method | get |
Undocumented |
Method | has |
Return `True` if permission is granted, `False` otherwise. |
Class Variable | perms |
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 | authenticated |
Undocumented |
Method | _queryset |
Undocumented |