Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

How can i lock the media upload for the other authors who are not assigned?

default discord avatar
nafisaalam2 years ago
3

so i have role author . And one author cannot update the other author's document. But here you could see every field is close except for the Profile picture where we are uploading image in media.So now any author could go into other author's document and change the document's image.



How can i lock the media upload also for the other authors who are not assigned in the document?



P.S : I have a author field where i assign them from the document.

  • default discord avatar
    jessrynkar2 years ago
    @505376985468502026

    I believe the upload field should present as read-only when update permission is

    false

    - could you open an issue on our github to track this?



    https://github.com/payloadcms/payload/issues

    thanks for reporting!

  • default discord avatar
    notchr2 years ago

    Does the media collection need to match the permissions of the authors?

  • default discord avatar
    nafisaalam2 years ago

    yes

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.