Add clustering app
This commit is contained in:
8
apps/clustering/permissions.py
Normal file
8
apps/clustering/permissions.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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'))
|
||||
Reference in New Issue
Block a user