Files
payloadcms/test/uploads/.gitignore
Sasha 3dd142c637 fix(ui): cannot replace the file if the user does not have delete access (#13484)
Currently, if you don't have delete access to the document, the UI
doesn't allow you to replace the file, which isn't expected. This is
also a UI only restriction, and the API allows you do this fine.

This PR makes so the "remove file" button renders even if you don't have
delete access, while still ensures you have update access.

---------

Co-authored-by: Paul Popus <paul@payloadcms.com>
2025-08-15 14:52:45 -04:00

14 lines
200 B
Plaintext

focal-only
focal-no-sizes
media
uploads
versions
with-any-image-type
with-meta-data
with-only-jpeg-meta-data
without-meta-data
svg-only
/media-gif
/custom-file-name-media
/media-without-delete-access