Author: channa
Date: Sat Jan 26 23:30:16 2008
New Revision: 12986

Log:

Changed non-admin handling to redirect rather than inform (also using this in 
other similar pages now). MASHUP-611.

Modified:
   trunk/mashup/java/modules/www/allow_guests.jsp

Modified: trunk/mashup/java/modules/www/allow_guests.jsp
==============================================================================
--- trunk/mashup/java/modules/www/allow_guests.jsp      (original)
+++ trunk/mashup/java/modules/www/allow_guests.jsp      Sat Jan 26 23:30:16 2008
@@ -122,11 +122,9 @@
                         administrator.
                     </div>
                     <% } %>
-                    <% } else {%>
-                    <div><img src="images/error.gif" align="absmiddle">&nbsp; 
You are not authorised
-                        to perform this operation.
-                    </div>
-                    <% } %>
+                    <% } else {
+                        response.sendRedirect(bounceback);
+                    } %>
                 </td>
             </tr>
             <tr>

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to