Attachment remove option for role based

Vignesh21
Kilo Guru

HI,

Be happier if you guys shed some light on me.

Use Case: Any user can upload the attachment, but they cannot remove the file after attaching the file on to a record. Removing the file option to be based on roles.

1 ACCEPTED SOLUTION

johnnyd54
Giga Expert

You need to modify the Delete ACL for the sys_Attachment table. Only return true if the user has the certain roles you need


View solution in original post

5 REPLIES 5

johnnyd54
Giga Expert

You need to modify the Delete ACL for the sys_Attachment table. Only return true if the user has the certain roles you need


Chuck Tomasi
Tera Patron

Have you tried creating the proper ACLs on the sys_attachment to grant the right people (e.g. just admins) delete rights to the sys_attachment table?




Docs: Access control rules


Docs: Contextual security  


Kash2
Kilo Contributor

Hi Vignesh,

 

Where u able to achieve this?

Hi Anup,

 

I did through Delete ACL only for certain group and it worked.