Document download restriction For specific group

Sirri
Tera Guru

Hi All,

 

I have requirement. For specific group incident table records all are read only. I have completed that requirement.

But in this they have expecting the requirement. All fields are read only that is fine. one concern is they able to download any document which any user previously   attached to that records.

 

In this requirement we should want restrict to download the attachment for that specific group  members.

 

Please let me know any one I have still any queries regarding this requirement.

 

Thanks.

8 REPLIES 8

Anirudh Pathak
Mega Sage

@Anirudh Pathak ,

 

I have tried this but not getting the exact result. please let me know how to achieve this. please help me here.

 

Thanks

@Sirri You need to write a read ACL on sys_attachment table, in this ACL you need to check if the table_name is incident and 

 

if(gs.getUser().isMemberOf('your_group name'))

{

answer =false;

}

Make sure to set answer=false if the user is part of your group. This way the group members will not be able to access attachements in the incident.

@Sandeep Rajput ,

 

I have tried this but still user is able to download existing document but there are not able to attach new document.

 

Please check it once again.