Hi. How can we help?

Share documents with individual users

Last updated: 04 June 2024

Use case

A group of registered users can see specific documents that public visitors or other users cannot see.

Solution

Add a Documents block

  1. Add a DOCman flat list block on a post or page of your choice

  1. Click Publish/Update

Assign documents to users

  1. Navigate to DOCman > Documents
  2. Click New to add a new document or click on an existing document to edit it
  3. Set Owner to the user you would like to grant access to

  1. Edit the category of the document
  2. Under the Permissions tab set:
  • Owner in Documents Download
  • Owner in Documents View
  • Registered in Categories View

  1. Click Save

Use a hierarchical list instead of a flat list for documents listing (optional)

Instead of using a flat list block of documents, you may also achieve the same result by using a hierarchical list block which shows the category structure for navigation. For this end, and instead of following the instructions from step 1, you may do as follows:

  1. Add a DOCman hierarchical list block on a page of your choice

  1. Click Publish/Update

Result

Documents that get added in the Private documents category will only be visible, by users assigned to to view and download documents in this category, while accessing the Documents block.

Tip: When setting the permissions, you can do the same on a parent category or even in the global Documents > Settings view instead of assigning the same settings on each category containing documents that you want to share individually. Permissions are inherited from global settings and parent categories saving you from having to set them on each individual category.