Setup document submission workflow
Last updated: 12 October 2017Use case
- Registered users can submit documents
- Registered users can view their own uploaded documents, but they can't edit them
- Administrators can view and edit all uploaded files
Solution
1. Create a category
- Create a root category called Documents.
- Under Permissions set Access to Presets and select Registered
2. Create menu items
1. Create 'Submit documents' menu item
- Navigate to Menus > All Menu Items.
- Click New.
- Set Title to Submit documents.
- Set Menu Item Type to DOCman > Submit Document.
- Set Access to Registered.
- In the DOCman tab set Category to Documents.
- Click Save & New.
2. Create 'Your documents' menu item
- Set Title to Your documents.
- Set Menu Item Type to DOCman > Flat List.
- Set Category to the Documents category.
- Set Only show own documents to Yes.
- Set Access to Registered.
3. Create 'Users documents' menu item
- Click Save & New.
- Set Title to Users documents.
- Set Menu Item Type to DOCman > Flat List.
- Set Category to the Documents category.
- Set Access to Special.
- Click Save & Close.
4. Prevent editing documents
- Navigate to Components > DOCman > Settings.
- Under Global permissions set Users can edit their own documents and categories to No.
5. Install Notify plugin (optional)
- Install the Notify plugin.
- Set Notify category owner to Yes in the plugin settings.
Result
Registered users can upload documents on the Submit documents page and view their uploaded documents on the Your documents page.
Administrators can view all the uploaded documents from the users on the Users documents page.