jmix-docs icon indicating copy to clipboard operation
jmix-docs copied to clipboard

REST File Upload should explain specific policies required for uploading a file

Open gorbunkov opened this issue 11 months ago • 0 comments

Jmix docs section: https://docs.jmix.io/jmix/rest/files-api.html

A role with rest.fileUpload.enabled specific policy must be assigned to user in order to upload files.

A role with rest.fileDownload.enabled specific policy must be assigned to user in order to download files.

It is also worth mentioning that a spring boot property for uploaded file limit must be set, e.g.

spring.servlet.multipart.max-file-size=10MB

See forum topic.

gorbunkov avatar Feb 29 '24 14:02 gorbunkov