Establishment manager
This commit is contained in:
parent
04a6bbea19
commit
3271a6fed9
0
apps/products/urls/back.py
Normal file
0
apps/products/urls/back.py
Normal file
0
apps/products/views/back.py
Normal file
0
apps/products/views/back.py
Normal file
|
|
@ -75,7 +75,6 @@ class IsStandardUser(IsGuest):
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
class IsContentPageManager(IsStandardUser):
|
class IsContentPageManager(IsStandardUser):
|
||||||
"""
|
"""
|
||||||
Object-level permission to only allow owners of an object to edit it.
|
Object-level permission to only allow owners of an object to edit it.
|
||||||
|
|
@ -141,3 +140,7 @@ class IsCommentModerator(IsStandardUser):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
class IsEstablishmentManager(IsStandardUser):
|
||||||
|
pass
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user