I am stuck in a scenario in which I want to give access to the profile user's to delete the note and attachment. As I know, To delete a note or attachment, you must be the owner of the note or attachment or an administrator with the “Modify all Data” permission. But I want to give permission to user other than the owner. How can I do it?
- Attachments will follow the same security as the parent record.
- A profile user's will able to delete attachments if they have attachment parent object delete access.
- Also profile user's must have read/write record level access of the parent object.
-
User couldn't delete the file others uploaded to his records, where he has permission to delete the parent record. But he can delete the files he uploaded. – Daniel Deepak Jan 17 '20 at 8:14