portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sg...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls Customize.java
Date Mon, 08 Oct 2001 16:06:17 GMT
sgala       01/10/08 09:06:17

  Modified:    src/java/org/apache/jetspeed/modules/actions/controls
                        Customize.java
  Log:
  Avoid Customizing when the user has not logged in. TODO, restrict changes to the user authorized
resources.
  
  Revision  Changes    Path
  1.5       +7 -0      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Customize.java
  
  Index: Customize.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Customize.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Customize.java	2001/07/22 20:31:11	1.4
  +++ Customize.java	2001/10/08 16:06:17	1.5
  @@ -78,6 +78,13 @@
       public void doPerform( RunData rundata ) throws Exception
       {
           JetspeedRunData jdata = (JetspeedRunData)rundata;
  +
  +        if( rundata.getUser() == null || !rundata.getUser().hasLoggedIn() )
  +        {
  +            return;
  +        }
  +
  +
           String name = jdata.getPortlet();
           if ( name == null )
           {
  
  
  

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


Mime
View raw message