How do I make attachments in a custom object read-only for users who have a specific permission set? This is on the related tab of the object... I am fine making the entire component read-only for those users (or even the entire object read-only, if that's easier).
5 件の回答
It's a bit late but I've been trying to do this myself and have found a way,
It doesn't hide the upload button but does prevent the upload
I created a Custom Permission I called "Prevent File Upload" and then assigned that to my user's Permission Set.
I then went to the Content Version object in Object Manager and created a validation rule and set the Custom Permission as the criteria.
It doesn't show my validation error message but it does prevent the upload