[jboss-cvs] jboss-seam/src/main/org/jboss/seam/pages ...

Peter Muir peter at bleepbleep.org.uk
Thu Feb 1 07:33:47 EST 2007


  User: pmuir   
  Date: 07/02/01 07:33:47

  Modified:    src/main/org/jboss/seam/pages  Page.java
  Log:
  Actually do restriction check if custom restriction applied
  
  Revision  Changes    Path
  1.9       +1 -1      jboss-seam/src/main/org/jboss/seam/pages/Page.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Page.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/pages/Page.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- Page.java	30 Jan 2007 16:32:36 -0000	1.8
  +++ Page.java	1 Feb 2007 12:33:47 -0000	1.9
  @@ -182,8 +182,8 @@
            if (expr == null)
            {
               expr = String.format("#{s:hasPermission('%s', 'render', null)}", getViewId());
  -            Identity.instance().checkRestriction(expr);
            }
  +         Identity.instance().checkRestriction(expr);
         }      
         
         boolean result = false;
  
  
  



More information about the jboss-cvs-commits mailing list