continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r447319 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
Date Mon, 18 Sep 2006 08:29:16 GMT
Author: carlos
Date: Mon Sep 18 01:29:15 2006
New Revision: 447319

URL: http://svn.apache.org/viewvc?view=rev&rev=447319
Log:
Add permission check

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp?view=diff&rev=447319&r1=447318&r2=447319
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
Mon Sep 18 01:29:15 2006
@@ -4,6 +4,7 @@
 
 <ww:i18n name="localization.Continuum">
 
+  <c:if test="${projectGroup.permissions.execute}">
     <c:choose>
       <c:when test="${!project.inQueue and ( project.state gt 0 ) and ( project.state
lt 5 )}">
         <ww:url id="buildProjectUrl" action="buildProject">
@@ -17,5 +18,6 @@
         <img src="<c:url value='/images/buildnow_disabled.gif'/>" alt="Build Now"
title="Build Now" border="0">
       </c:otherwise>
     </c:choose>
+  </c:if>
 
 </ww:i18n>



Mime
View raw message