class documentation

Allows access only to admin users.

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

Inherited from BasePermission:

Method has_object_permission Return `True` if permission is granted, `False` otherwise.
def has_permission(self, request, view): (source)

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