rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject svn commit: r1199443 - in /incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views: addwidget.jsp home.jsp store.jsp widget.jsp
Date Tue, 08 Nov 2011 20:30:52 GMT
Author: jasha
Date: Tue Nov  8 20:30:51 2011
New Revision: 1199443

URL: http://svn.apache.org/viewvc?rev=1199443&view=rev
Log:
RAVE-352 change check from has authority to check if user has access to the url

Modified:
    incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp
    incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/home.jsp
    incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/store.jsp
    incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/widget.jsp

Modified: incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp?rev=1199443&r1=1199442&r2=1199443&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp
(original)
+++ incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp
Tue Nov  8 20:30:51 2011
@@ -48,7 +48,7 @@
                 </c:choose>
                 <a href="<c:out value="${gobackurl}"/>"><fmt:message key="page.general.back"/></a>
                 </li>
-                <sec:authorize access="hasRole('ROLE_ADMIN')">
+                <sec:authorize url="/app/admin/">
                     <li>
                         <a href="<spring:url value="/app/admin/"/>">
                             <fmt:message key="page.general.toadmininterface"/>

Modified: incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/home.jsp
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/home.jsp?rev=1199443&r1=1199442&r2=1199443&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/home.jsp
(original)
+++ incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/home.jsp
Tue Nov  8 20:30:51 2011
@@ -36,7 +36,7 @@
                       <fmt:message key="page.store.title"/>
                     </a>
                 </li>
-                <sec:authorize access="hasRole('ROLE_ADMIN')">
+                <sec:authorize url="/app/admin/">
                     <li>
                         <a href="<spring:url value="/app/admin/"/>">
                             <fmt:message key="page.general.toadmininterface"/>

Modified: incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/store.jsp
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/store.jsp?rev=1199443&r1=1199442&r2=1199443&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/store.jsp
(original)
+++ incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/store.jsp
Tue Nov  8 20:30:51 2011
@@ -44,7 +44,7 @@
                 </c:choose>
                 <a href="<c:out value="${gobackurl}"/>"><fmt:message key="page.general.back"/></a>
             </li>
-            <sec:authorize access="hasRole('ROLE_ADMIN')">
+            <sec:authorize url="/app/admin/">
                     <li>
                         <a href="<spring:url value="/app/admin/"/>">
                             <fmt:message key="page.general.toadmininterface"/>

Modified: incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/widget.jsp
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/widget.jsp?rev=1199443&r1=1199442&r2=1199443&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/widget.jsp
(original)
+++ incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/widget.jsp
Tue Nov  8 20:30:51 2011
@@ -46,7 +46,7 @@
                     </c:choose>
                     <a href="<c:out value="${gobackurl}"/>"><fmt:message key="page.general.back"/></a>
                 </li>
-                <sec:authorize access="hasRole('ROLE_ADMIN')">
+                <sec:authorize url="/app/admin/">
                     <li>
                         <a href="<spring:url value="/app/admin/"/>">
                             <fmt:message key="page.general.toadmininterface"/>



Mime
View raw message