8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 08:23:12 +00:00

[Printer/models] Dummy ACL

This commit is contained in:
Maxime Bombar 2018-10-06 22:13:35 +02:00 committed by root
parent 1bb39f25ff
commit cc447ba622

View file

@ -158,3 +158,47 @@ class JobWithOptions(RevMixin, models.Model):
total_price = math.floor(self.count * (price_ink + price_stapling))
return float(total_price)/100
@staticmethod
def can_view_all(user_request, *_args, **_kwargs):
"""
"""
return (
True, None
)
@staticmethod
def can_create(user_request, *_args, **_kwargs):
"""
"""
return(
True, None
)
@staticmethod
def can_view(user_request, *_args, **_kwargs):
"""
"""
return(
True, None
)
@staticmethod
def can_edit(user_request, *_args, **_kwargs):
"""
"""
return(
True, None
)
@staticmethod
def can_delete(user_request, *_args, **_kwargs):
"""
"""
return(
True, None
)