Search found 457 matches

by rosarior
Thu Dec 12, 2019 7:30 am
Forum: General topics
Topic: Intersection of ACLs?
Replies: 2
Views: 34

Re: Intersection of ACLs?

This is an access control scheme very specific to an application. It is not possible to implement it in Mayan as it is defined. The access control of the user is defined by the role subscription alone. No other user attribute modifies the access control. Same applies to documents. The access is gran...
by rosarior
Thu Dec 12, 2019 1:09 am
Forum: API
Topic: 404 "Detail Not Found"
Replies: 9
Views: 106

Re: 404 "Detail Not Found"

Yes, the ID is given at the moment of the checkout creation. The commit linked here: https://gitlab.com/mayan-edms/mayan-edm ... 0d41dea8e8 makes the ID appear in the checkout list view ('/checkouts/'), in case the ID was not recorded at creation.
by rosarior
Thu Dec 12, 2019 12:51 am
Forum: Issues or Errors
Topic: Downloading large file stalls
Replies: 10
Views: 99

Re: Downloading large file stalls

A mitigation was not possible and we decided to remove the affected library. We are in the process of implementing the download functionality natively. If you would like to follow the progress this is the branch: https://gitlab.com/mayan-edms/mayan-edms/tree/features/downloads_fix Once the implement...
by rosarior
Wed Dec 11, 2019 7:33 pm
Forum: Issues or Errors
Topic: Downloading large file stalls
Replies: 10
Views: 99

Re: Downloading large file stalls

Thank you everybody for the feedback.

We've pinpointed the source to a Python 3 compatibility issue with django-downloadview. We are working on a mitigation as this is a third party code. If a mitigation is not possible we are looking at removing the library and implement the download code natively.
by rosarior
Wed Dec 11, 2019 3:25 am
Forum: Issues or Errors
Topic: Downloading large file stalls
Replies: 10
Views: 99

Re: Downloading large file stalls

Upgrade to version 3.3.4 and make sure you update the supervisor config file. The frontend worker type was changed to synchronous in version 3.3.4 due to an issue with Celery and Redis when using threads for HTTP.

https://docs.mayan-edms.com/releases/3. ... ng-process
by rosarior
Wed Dec 11, 2019 3:22 am
Forum: Issues or Errors
Topic: Error on upload
Replies: 3
Views: 60

Re: Error on upload

Hi, Are you using the Docker image or a direct deployment? Besides Mayan, do you have a database and Redis server/containers deployed? Set COMMON_PRODUCTION_ERROR_LOGGING to true in the user interface or pass it as an environment variable: export MAYAN_COMMON_PRODUCTION_ERROR_LOGGING=true To turn on...
by rosarior
Wed Dec 11, 2019 3:13 am
Forum: API
Topic: Document preview and download using API links
Replies: 2
Views: 61

Re: Document preview and download using API links

It is not advisable to add the API token as part of the URL of images. The token will be visible upon network inspection even when using HTTPS. This is why API tokens and other authentication information is sent over the header which is encrypted or as part of the session like the answer @m42e posted.
by rosarior
Wed Dec 11, 2019 3:09 am
Forum: API
Topic: 404 "Detail Not Found"
Replies: 9
Views: 106

Re: 404 "Detail Not Found"

The checkout serializer was updated to show its own ID and URL besides the document information.

Commit here: https://gitlab.com/mayan-edms/mayan-edm ... 0d41dea8e8

This will be available in the next bugfix version (3.3.5).

Thanks for the report.
by rosarior
Wed Dec 11, 2019 2:56 am
Forum: API
Topic: 404 "Detail Not Found"
Replies: 9
Views: 106

Re: 404 "Detail Not Found"

I understand now. The issue is the ID number itself. The ID number of the checkout API is not the document ID. Checkouts have their own ID sequence. Checkouts are like tickets or stubs that evidence that a document has been checked out. They have their own ID number because they are a separate datab...
by rosarior
Tue Dec 10, 2019 3:37 am
Forum: API
Topic: 404 "Detail Not Found"
Replies: 9
Views: 106

Re: 404 "Detail Not Found"

For what version is this?

Also to view the checkout details of a document, two permissions are required: Document View and Check out details view.