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>
14 lines
200 B
Plaintext
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
|