In this branch, I've added the license field to be reviewed when a published media is modified, but the user can only change this field to a less restrictive option.
I've removed the model LoadedMedia, now the process is handled by the new status loaded, eliminating the need to delete the record from one model and creating it in another when finishing the upload.
Additionally, the media files now go into a subfolder named after the user who uploaded them.
The list pages now include actions to overwrite the field taxa (the only one for now) and change the status depending on the view.
These pages also have pagination (12 records per page).
An email is also sent to the user who uploaded the media to notify whether it was edited or published (this functionality works on both the individual page and the list page).
In this branch, I've added the
license
field to be reviewed when a published media is modified, but the user can only change this field to a less restrictive option. I've removed the modelLoadedMedia
, now the process is handled by the new statusloaded
, eliminating the need to delete the record from one model and creating it in another when finishing the upload. Additionally, the media files now go into asubfolder
named after the user who uploaded them. The list pages now includeactions
to overwrite the fieldtaxa
(the only one for now) and change the status depending on the view. These pages also havepagination
(12 records per page). Anemail is also sent to the user
who uploaded the media to notify whether it was edited or published (this functionality works on both the individual page and the list page).