beat.web.common.permissions module¶
-
class
beat.web.common.permissions.IsSuperuser[source]¶ Bases:
rest_framework.permissions.BasePermissionGlobal permission check for super user
-
class
beat.web.common.permissions.IsAuthor[source]¶ Bases:
rest_framework.permissions.IsAuthenticatedGlobal permission check that verify if the user is also the onwer of the asked data
-
class
beat.web.common.permissions.IsAuthorOrReadOnly[source]¶ Bases:
beat.web.common.permissions.IsAuthorEither allow access if using a read method or check that the user is also the author.