12 lines
347 B
Python
12 lines
347 B
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from mayan.apps.permissions import PermissionNamespace
|
|
|
|
namespace = PermissionNamespace(name='common', label=_('Common'))
|
|
|
|
permission_error_log_view = namespace.add_permission(
|
|
name='error_log_view', label=_('View error log')
|
|
)
|