issues
search
iryonetwork
/
wwm
Iryo's pilot project for refugee camps
7
stars
3
forks
source link
Add author to fileDescriptor and verify right to update on updating the file
#42
Open
mateuszkrasucki
opened
6 years ago
mateuszkrasucki
commented
6 years ago
Only users that created the file (or users that were explicitly whitelisted so using appropriate userRole in auth) should be able to update a file.
To achieve it first the author of the file should be stored in storage.
Secondly, validation call should be made on attempt to update.