diff --git a/transforms/adl2views.xslt b/transforms/adl2views.xslt index 0aae075..bb85074 100755 --- a/transforms/adl2views.xslt +++ b/transforms/adl2views.xslt @@ -15,8 +15,8 @@ Transform ADL into velocity view templates $Author: sb $ - $Revision: 1.55 $ - $Date: 2009-05-06 17:25:55 $ + $Revision: 1.56 $ + $Date: 2009-05-06 18:02:35 $ --> @@ -442,12 +442,30 @@ - - #if ( ${SecurityHelper.InGroup( "")} || false) - - #end - + #if ( $instance) + #if ( $instance.IsNew) + #if ( ${SecurityHelper.InGroup( "")} || false) + + #end + #else + #if ( ${SecurityHelper.InGroup( "")} || false) + + #end + #end + #else + + #if ( ${SecurityHelper.InGroup( "")} || false) + + #end + #end + @@ -1789,7 +1807,7 @@ Auto generated Velocity macro for , generated from ADL. - Generated using adl2views.xslt + Generated using adl2views.xslt Generation parameters were: area-name: default-url: diff --git a/transforms/permissions-include.xslt b/transforms/permissions-include.xslt index 7b8fd97..3205222 100755 --- a/transforms/permissions-include.xslt +++ b/transforms/permissions-include.xslt @@ -15,8 +15,8 @@ Utility templates to find permissions on various things $Author: sb $ - $Revision: 1.4 $ - $Date: 2009-04-30 08:56:33 $ + $Revision: 1.5 $ + $Date: 2009-05-06 18:02:35 $ --> @@ -166,6 +166,32 @@ + + + + + + + + + + + none + + + + + + + + + + + + + + +