10 lines
489 B
Python
10 lines
489 B
Python
from __future__ import absolute_import
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from permissions.models import PermissionNamespace, Permission
|
|
|
|
namespace = PermissionNamespace('clustering', _(u'Clustering'))
|
|
PERMISSION_NODES_VIEW = Permission.objects.register(namespace, 'nodes_view', _(u'View the nodes in a Mayan cluster'))
|
|
PERMISSION_EDIT_CLUSTER_CONFIGURATION = Permission.objects.register(namespace, 'cluster_config', _(u'Edit the configuration of a Mayan cluster'))
|