You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-commits@incubator.apache.org by kl...@apache.org on 2009/10/15 22:59:02 UTC

svn commit: r825694 - /incubator/olio/webapp/java/trunk/ws/apps/webapp/web/personContent.jsp

Author: klichong
Date: Thu Oct 15 22:59:01 2009
New Revision: 825694

URL: http://svn.apache.org/viewvc?rev=825694&view=rev
Log:
fixing invitations permissions issue - part of OLIO-132.  only person logged in should be able to see incoming or outgoing invitations to revoke or accept.  Other users or non-logged in users will not see the invitations block at all.

Modified:
    incubator/olio/webapp/java/trunk/ws/apps/webapp/web/personContent.jsp

Modified: incubator/olio/webapp/java/trunk/ws/apps/webapp/web/personContent.jsp
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/java/trunk/ws/apps/webapp/web/personContent.jsp?rev=825694&r1=825693&r2=825694&view=diff
==============================================================================
--- incubator/olio/webapp/java/trunk/ws/apps/webapp/web/personContent.jsp (original)
+++ incubator/olio/webapp/java/trunk/ws/apps/webapp/web/personContent.jsp Thu Oct 15 22:59:01 2009
@@ -166,7 +166,7 @@
             <a href="${pageContext.servletContext.contextPath}/person?user_name=${displayPerson.userName}&actionType=display_friends">more...</a>
 
         </div>
-            
+       <c:if test="${requestScope['displayPerson'].userName == userBean.loggedInPerson.userName}">     
             <div id="incoming">
                 <fieldset id="incoming_requests">
                     <legend>Incoming friendship invitations</legend>
@@ -207,6 +207,7 @@
                     </ol>
                 </fieldset>
             </div>
+   </c:if>
 <hr />
         </div> <!-- user_header -->