Commit b64e6b60 authored by Maxime Bombar's avatar Maxime Bombar

[Printer/models] Dummy ACL

parent e82a7e73
......@@ -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
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment