class documentation

Allow any access. This isn't strictly required, since you could use an empty permission_classes list, but it's useful because it makes the intention more explicit.

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.