function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ram ChaturvediRam Chaturvedi 

What permission needed for deleting other user attachment....?

Uesr "A" creates a account record and attach a doc in this record. now user "B" wants to delete those attachment created by user "A", so what permission need to give User "B" in her/his profile or permission set.............?
SarfarajSarfaraj
Attachments are controlled by parent, in your case it is Account. You have to make sure that B has read/write access to the associated Account records.
Simple solution is to provide modify all permission to Account record to User 'B'
Or, Keep User B higher in the role hierarchy than user 'A'.
Or, Configure Account sharing rule so that B gets read/write access to Accounts owned by 'A'.
Or, Manually share Account records owned by A to B.
Ram ChaturvediRam Chaturvedi
I have implement these Idea's but still User B not able to delete. 
Radhika MRadhika M

Hi Akram

In my case the attachments are controlled by custom object and User A & User B both are having same role. I have given Modify All permission on custom object, then User B is able to delete the attachments created by User A.
I had a try with third oprtion (Configure Account sharing rule so that B gets read/write access to Accounts owned by 'A'.), but no use.

Thank You Akram