How to give read access to itil users & write access to specific group users on Custom created table

shaik_irfan
Tera Guru

Hello,

 

I created a custom table for which i need to read access to all the itil users and write access to Network Support group users.

 

How to acheive this ?

1 ACCEPTED SOLUTION

Prins Kumar Gup
Giga Guru

Hi Irfan,

Write the code in ACL script part:-

For Write Access:-

if(gs.getUser().isMemberOf('Network Support')){
answer=true;
}
else{
answer=false;
}

For Read Access:-

if(gs.getUser().hasRole('itil')){
answer = true;
}
else
{
answer = false;
}

 

TIA

PKG

View solution in original post

6 REPLIES 6

Prince,

 

I tried but it is not working for Write access, unable to create a new record. i think this is because of itil role since it is conflicting with read role ?

Niveditha Arula
Mega Expert

Hi Irfan,

Please use ACL rules for providing read / write access for users.

Thanks.