Cms: How to empty the Temporary Uploads folder and why can individual users not delete files within up this folder?

Created on 23 Jan 2021  路  4Comments  路  Source: craftcms/cms

I am perhaps over looking something, but I cannot see anyway for an back-end user (not admin) to be able to remove/clean up their Temporary Uploads folder. As a full admin, I see the option to remove the assets.
enter image description here

However, when logged in as a user that has full rights for all assets but is not a 'admin' user there is no option to delete the temporary assets.

enter image description here

I have looked through the user permission settings and I cannot see anything relating to Temporary Uploads or any settings that can be enabled for this.

Is this an oversight/feature request or am I over looking something?

The other thing I think worth mentioning is that the list in the CMS is not reflecting what is actually in the Temporary Uploads folder on the server. So I don't think the asset indexing is quite working for Temporary Uploads but it is not a folder than can be re-index.

enter image description here

I would also like to know if there is an config setting or command that can be run periodically that would clean up all users Temporary Upload folders?

Thanks.

bug

All 4 comments

Thanks for pointing that out! Just fixed this for the next release.

Thanks for this @brandonkelly although I am still seeing issues.
Logging in as the staff user, I can now see the delete option but it is disabled.

Screenshot 2021-02-13 at 18 13 57

Doh, sorry about that. Fixed that for the next releasse.

Craft 3.6.6 is out now with that bugfix.

Was this page helpful?
0 / 5 - 0 ratings