continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r447332 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
Date Mon, 18 Sep 2006 09:08:26 GMT
Author: carlos
Date: Mon Sep 18 02:08:25 2006
New Revision: 447332

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

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp?view=diff&rev=447332&r1=447331&r2=447332
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
Mon Sep 18 02:08:25 2006
@@ -58,15 +58,16 @@
       </c:otherwise>
     </c:choose>
 --%>
-
-    <c:choose>
-      <c:when test="${param.tab == 'permissions'}">
-        <b class="tabMenuDisabled">Permissions</b>
-      </c:when>
-      <c:otherwise>
-        <ww:a cssClass="tabMenuEnabled" href="%{projectGroupPermissionsUrl}">Permissions</ww:a>
-      </c:otherwise>
-    </c:choose>
+    <c:if test="${projectGroup.permissions.administer}">
+      <c:choose>
+        <c:when test="${param.tab == 'permissions'}">
+          <b class="tabMenuDisabled">Permissions</b>
+        </c:when>
+        <c:otherwise>
+          <ww:a cssClass="tabMenuEnabled" href="%{projectGroupPermissionsUrl}">Permissions</ww:a>
+        </c:otherwise>
+      </c:choose>
+    </c:if>
 
   </p>
 </div>



Mime
View raw message