Added workflow create, edit and delete views

This commit is contained in:
Roberto Rosario
2012-03-16 01:40:04 -04:00
parent 8c8befabdd
commit ffb5fc8286
5 changed files with 132 additions and 25 deletions
+4 -1
View File
@@ -6,4 +6,7 @@ from permissions.models import PermissionNamespace, Permission
user_management_namespace = PermissionNamespace('workflows', _(u'Workflows'))
PERMISSION_WORKFLOW_SETUP_VIEW = Permission.objects.register(user_management_namespace, 'workflow_setup_view', _(u'View existing workflows templates'))
PERMISSION_WORKFLOW_SETUP_VIEW = Permission.objects.register(user_management_namespace, 'workflow_setup_view', _(u'View existing workflow templates'))
PERMISSION_WORKFLOW_SETUP_CREATE = Permission.objects.register(user_management_namespace, 'workflow_setup_create', _(u'Create new workflow templates'))
PERMISSION_WORKFLOW_SETUP_EDIT = Permission.objects.register(user_management_namespace, 'workflow_setup_edit', _(u'Edit existing workflow templates'))
PERMISSION_WORKFLOW_SETUP_DELETE = Permission.objects.register(user_management_namespace, 'workflow_setup_delete', _(u'Delete existing workflow templates'))