Document upload wizard only works as admin
Observed Behaviour
Users other than admin
are unable to use the upload wizard. There only is a "Server Error" message after selecting the document type and clicking "Next step"
Expected Behaviour
All users should be able to use the document upload wizard.
Error messages
GUI
Server error
There's been an error. It's been reported to the site administrators via e-mail and should be fixed shortly. Thanks for your patience.
Log
Steps to reproduce
- Start a fresh installation of Mayan via Docker:
-v /docker-volumes/mayan:/var/lib/mayan \
-v /opt/scanned_files:/srv/watch_folder mayanedms/mayanedms:3.0```
* Log in as admin
* Create a role that contains all permissions
* Create a group and assign the role
* Create a user and assign the group
* Log out and log back in as the new user
* Browse Documents -> New Document
* Select Document type "Default" and click "-> Next step"
## Environment
* Mayan version
* Docker image `mayanedms/mayanedms:3.0`
* Docker version `Docker version 18.03.1-ce, build 9ee9f40`
* Docker host OS `Ubuntu 18.04 LTS`
## Last known working version
* 2.7.3 (Docker install)
Doing the exact same thing in `mayanedms/mayanedms:2.7.3` works as expected.
Edited by Bebef