portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r552663 - /portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp
Date Tue, 03 Jul 2007 04:34:47 GMT
Author: taylor
Date: Mon Jul  2 21:34:42 2007
New Revision: 552663

URL: http://svn.apache.org/viewvc?view=rev&rev=552663
Log:
these roles seem to be old, it certainly wasn't working here as expected, so I changed them
to the expected roles.

Modified:
    portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp

Modified: portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp?view=diff&rev=552663&r1=552662&r2=552663
==============================================================================
--- portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp
(original)
+++ portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp
Mon Jul  2 21:34:42 2007
@@ -44,19 +44,19 @@
       <tr>
       	<td><fmt:message key="roles.label.Administrator"/></td>
       	<td><fmt:message key="roles.label.admin"/></td>
-      	<td><%= renderRequest.isUserInRole("Administrator") %></td>
+      	<td><%= renderRequest.isUserInRole("admin") %></td>
       	<td><%= request.isUserInRole("admin") %></td>
       </tr>
       <tr>
       	<td><fmt:message key="roles.label.Manager"/></td>
       	<td><fmt:message key="roles.label.manager"/></td>
-      	<td><%= renderRequest.isUserInRole("Manager") %></td>
+      	<td><%= renderRequest.isUserInRole("manager") %></td>
       	<td><%= request.isUserInRole("manager") %></td>
       </tr>
       <tr>
       	<td><fmt:message key="roles.label.User"/></td>
       	<td><fmt:message key="roles.label.user"/></td>
-      	<td><%= renderRequest.isUserInRole("User") %></td>
+      	<td><%= renderRequest.isUserInRole("user") %></td>
       	<td><%= request.isUserInRole("user") %></td>
     	</tr>
     </table>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message