diff --git a/printer/acl.py b/printer/acl.py index 9fa7be38..d30a1d82 100644 --- a/printer/acl.py +++ b/printer/acl.py @@ -15,7 +15,7 @@ def can_view(user): A couple (allowed, msg) where allowed is a boolean which is True if viewing is granted and msg is a message (can be None). """ - can = user.has_module_perms('printer') + can = user.is_active return can, None if can else _("You don't have the right to view Printer" " application.")