You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ca...@apache.org on 2006/09/18 10:29:16 UTC
svn commit: r447319 -
/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
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>