UserOfficeProject / issue-tracker

Shared place for features and bugs from all collaborators.
0 stars 0 forks source link

Add some validation to the upload and download endpoint #1152

Closed TCMeldrum closed 2 months ago

TCMeldrum commented 3 months ago

Right now anyone with the know how can upload and download documents to and from the UOP by going to the /files/upload and /files/download/ endpoint. At very least we should validate they are a real user of the system and maybe add some restrictions for different types of users, e.g. variable file size limit for users and user-officers.

Found on 15/08/2024 from https://github.com/isisbusapps/docker-orchestration/pull/605