biigle / user-storage

:m: BIIGLE module to offer file upload and storage for users
GNU General Public License v3.0
0 stars 0 forks source link

Don't allow review of storage requests that were not submitted #35

Open mzur opened 5 months ago

mzur commented 5 months ago

The storage request controller shows only requests that were not approved yet but it does not hide requests that were not submitted. Requests that were not submitted should not be shown by the controller. Fix this and add an appropriate test case.

mzur commented 4 months ago

The tests are here. It also includes an example for a 404 response when the storage request was already reviewed. The same should be expected for a storage request that was not submitted.