From 40dab68e579038350e9a985e0b60dff456fa8f4f Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 24 Oct 2005 10:30:10 +0000 Subject: [PATCH] Show the guard group and guard role, and allow none for guard permission. --- templates/ktcore/workflow/editTransition.smarty | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/templates/ktcore/workflow/editTransition.smarty b/templates/ktcore/workflow/editTransition.smarty index 31e9ebd..2f3f57e 100644 --- a/templates/ktcore/workflow/editTransition.smarty +++ b/templates/ktcore/workflow/editTransition.smarty @@ -2,6 +2,12 @@

Edit transition properties

+

Select the target state of the transition, and +select the permission, group, and/or role necessary to perform the +transition. Selecting more than one of permission, group, or role will +require that the user wishing to perform the transition fulfil every +requirement.

+
@@ -14,9 +20,20 @@ Guard Permission - {entity_select entities=$aPermissions selected=$oTransition->getGuardPermissionId() name="fPermissionId"} + {entity_select entities=$aPermissions +selected=$oTransition->getGuardPermissionId() name="fPermissionId" +none=true} + + + Guard Group + {entity_select entities=$aGroups +selected=$oTransition->getGuardGroupId() name="fGroupId" none=true} + + + Guard Role + {entity_select entities=$aRoles +selected=$oTransition->getGuardRoleId() name="fRoleId" none=true} -
-- libgit2 0.21.4