<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7 terms of use logout</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110834265" />
  <subtitle>Liferay 7 terms of use logout</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110834265</id>
  <updated>2026-05-15T06:30:11Z</updated>
  <dc:date>2026-05-15T06:30:11Z</dc:date>
  <entry>
    <title>RE: Liferay 7 terms of use logout</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110837756" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110837756</id>
    <updated>2018-08-30T00:25:07Z</updated>
    <published>2018-08-30T00:25:07Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Sean Megeath:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;It looks as though the Terms of Use blocks any access to the
        Product Menu.  I'd like to provide the ability for a user to log
        themselves out, instead of agreeing to our terms of use.  Is
        there an easy configuration way to do this? My searches haven't
        gotten me anything.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;Theoretically speaking, you can grant access to the product menu
  portlet via a portal property, and a user who hasn't agreed to the
  terms of use can render it if they hand-craft the URL.&lt;/p&gt;
&lt;pre&gt;
portlet.interrupted.request.whitelist=\
  com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet
&lt;/pre&gt;
&lt;p&gt;Practically speaking, having the portlet be whitelisted and having
  the terms of use page actually show it are completely separate things,
  because &lt;a
  href="https://github.com/liferay/liferay-portal/blob/7.0.5-ga6/modules/apps/foundation/portal-template/portal-template-freemarker/src/main/resources/FTL_liferay.ftl#L63-L67"&gt;FTL_liferay.ftl&lt;/a&gt;
  still checks if you have agreed to the terms of use before it even
  renders anything (it's one of the conditions for &lt;a href="https://github.com/liferay/liferay-portal/blob/7.0.5-ga6/portal-impl/src/com/liferay/portal/model/impl/UserImpl.java#L921-L935"&gt;isSetupComplete&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;In other words, even with the whitelist, you'd still need a
  customization that either tells Liferay user setup is complete without
  terms of use, or changes the &amp;quot;I Disagree&amp;quot; button to just
  sign out the user.&lt;/p&gt;
&lt;p&gt;We opened &lt;a
  href="https://issues.liferay.com/browse/LPS-84177"&gt;LPS-84177&lt;/a&gt; to
  ask the product team to think about this scenario a little more
  carefully, because people can decline terms of use agreements,
  especially with the added transparency required of GDPR. Nothing has
  happened from that feature request, though.&lt;/p&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-08-30T00:25:07Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7 terms of use logout</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110834264" />
    <author>
      <name>Sean Megeath</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110834264</id>
    <updated>2018-08-29T14:21:47Z</updated>
    <published>2018-08-29T14:21:47Z</published>
    <summary type="html">&lt;p&gt;It looks as though the Terms of Use blocks any access to the Product
  Menu.  I'd like to provide the ability for a user to log themselves
  out, instead of agreeing to our terms of use.  Is there an easy
  configuration way to do this? My searches haven't gotten me anything.&lt;/p&gt;</summary>
    <dc:creator>Sean Megeath</dc:creator>
    <dc:date>2018-08-29T14:21:47Z</dc:date>
  </entry>
</feed>
