Share documents with individual users
Last updated: 04 June 2024Use case
A group of registered users can see specific documents that public visitors or other users cannot see.
Solution
Add a Documents block
- Add a DOCman flat list block on a post or page of your choice
- Click Publish/Update
Assign documents to users
- Navigate to DOCman > Documents
- Click New to add a new document or click on an existing document to edit it
- Set Owner to the user you would like to grant access to
- Edit the category of the document
- Under the Permissions tab set:
- Owner in Documents Download
- Owner in Documents View
- Registered in Categories View
- 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:
- Add a DOCman hierarchical list block on a page of your choice
- 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.
Learn more about sharing documents with group users.