[jboss-cvs] jboss-seam/examples/dvdstore/resources/WEB-INF ...
Norman Richards
norman.richards at jboss.com
Thu Aug 2 14:58:05 EDT 2007
User: nrichards
Date: 07/08/02 14:58:05
Modified: examples/dvdstore/resources/WEB-INF pages.xml
Log:
Update security config, fix sessionContext bug
Revision Changes Path
1.16 +1 -1 jboss-seam/examples/dvdstore/resources/WEB-INF/pages.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pages.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/resources/WEB-INF/pages.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- pages.xml 26 Jun 2007 23:04:03 -0000 1.15
+++ pages.xml 2 Aug 2007 18:58:05 -0000 1.16
@@ -34,7 +34,7 @@
</navigation>
<navigation from-action="#{identity.login}">
- <rule if="#{currentUser.admin}">
+ <rule if="#{s:hasRole('admin')}">
<redirect view-id="/admin/admin.xhtml"/>
</rule>
</navigation>
More information about the jboss-cvs-commits
mailing list