incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klich...@apache.org
Subject svn commit: r825694 - /incubator/olio/webapp/java/trunk/ws/apps/webapp/web/personContent.jsp
Date Thu, 15 Oct 2009 22:59:02 GMT
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 -->
         



Mime
View raw message