Asset Publisher filtering by Organization and UserAsset Publisher filtering by Organization and Userhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1048783362024-03-29T05:21:38Z2024-03-29T05:21:38ZAsset Publisher filtering by Organization and UserPhilip Teaglehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1048783352018-03-06T03:04:25Z2018-03-06T03:04:25ZI am trying to filter web content display for only certain organizations and user. I am programmatically creating web content with a tags for the organizationId and userId. I am trying to use an ADT to change the behavior of an Asset Publisher to only display content for the current logged in user, and/or content for the organization(s) for which the user belongs.<br /><br />I am using a single site for all organizations and users, so filtering for the current scope does not appear to work. I do not see how to filter on organizationId or userId with the default Asset Publisher. <br /><br />I started an ADT with the thought of only displaying content for the current user as follows:<br /><br />#if (!$entries.isEmpty())<br /> #foreach ($curEntry in $entries)<br /> ## if ($curEntry has tag that equals themeDisplay.getUserId)<br /> ## display web content<br /> <br />However, it is not obvious how to control display of the content itself if the tag and current userId match.<br /><br />Any suggestions ap