With the advent of teams in Liferay Portal, the portal administrator now has greater flexibility in managing site membership. This article outlines a method for creating a set of documents for use by a specific team.
Here is a quick demo on how to achieve this from a plain bundle:
- Create a Site "Site 1" and within that site, create a team, "Team 1"
- Within "Site 1", create a private page and add a Documents and Media Portlet to that page.
- Create the folder, "Team Folder" that is to have its contents restricted to a given team.
- Enable the permissions such that only team members may view it (disable permissions for Site Members)
Now, when team members upload documents to this folder, they can set them to be "Viewable by Site Member". The permissios on the folder that contains the file will prevent site members who are not a part of the team from seeing the files in the "Team Folder".
Note that for editing the file or its permissions is a separate permission that may be granted by the site administrator.