When you create a Project in Cloud CMS, the Project is automatically configured with a Project Users team that grants the Consumer role to any project members. As a result, any members of the Project will have the ability to see all content within the Project.
For many, this works just fine. However, there may be cases where you want to limit certain Folders to only be accessible by specific Users.
Let's walk through some steps on how to do this.
Change the Project Users team security policy
First, lets change the security policy of the Project Users team so that it doesn't automatically make all content within the project readable. Log in as a user who has Manager rights over the Project and then do the following:
- Click on Manage Project.
- Click on Teams.
- Click on the "Project Users" team.
- Click on Policies.
- Click on Add New Item
- For the new item, set:
- Action = Revoke
- Roles = Consumer
- Types = Node
- Save your Changes
- Click Done.
This will make it so that the Project Users team will grant Consumer for everything except Nodes. In other words, members of your Project will no longer be able to see all content. You should be able to verify this (if you want) by logging in as a Project member. They won't be able to see any content.
Assign Consumer rights to the repository Root Node
Next, click on Folders on the left-hand menu. This will take you to the Root Node of the repository. Then:
- Click on the "View Properties..." button.
- Click on the Authorities menu option.
- Click on Grant Authority.
- Use the dialog to specify that the "Project Users" team should be given the Consumer role.
- Click on "Grant".
For Step 4, make sure to click on "Show Teams" when picking users or teams. You can then pick the Project Users team.
With this change in place, you should now be able to log in as a Project member and see content once again. This is because the Consumer role is being granted to the top level Root folder. This Consumer authority is then propagated to all child folders by default.
Adjust the Child Folder so that it is only visible to a specific User
Next, navigate into a child Folder. And then:
- Click on then "View Properties..." button.
- Click on Actions on the document menu.
- Under Actions, click on "Disable Inherited Authorities".
This will disconnect the child Folder from the parent or root Folder in terms of propagated authorities. The parent folder (the root) has full Consumer rights bestowed upon it (by virtue of the previous step). But by disabling inherited authorities, the child Folder will not receive those rights bestowed over the parent. In effect, the child Folder's authorities are self-contained or disconnected -- they do not inherit from the parent Folder.
Finally, do the following:
- Click on the Authorities menu option.
- Click on Grant Authority.
- Use the dialog to specify the specific User that should be given the Consumer role.
- Click on "Grant".
This will make it so that the child Folder (and its contents) are visible to the specific user (but not to anyone else).