Getting related lists in a form to restrict access

divvi_vamsi
Mega Expert

How can we refer to related lists in a form to restrict their access to specific group of people?

Thanks,

Divya

1 ACCEPTED SOLUTION

Divya,



You can restrict the records in the related list by creating a read ACL on the related list table.


For example, I can create a read ACL on task_sla table and restrict itil users from viewing that records


For admin:


find_real_file.png


For itil:


sla.PNG



Thanks,


Abhinay




PS: Hit like, Helpful or Correct depending on the impact of the response


View solution in original post

14 REPLIES 14

I did not get you. g_form.hideRelatedList('related list name') only hides the related list you specify, how can it hide the entire form??


Can you attach a screenshot.


I think the script you have is ACL. You should have a client script instead


S, i have this question...Is the script in ACL just for Boolean evaluation? or can it be used to perform other tasks as form field hiding as well? Because I don't wish to have any client scripts at this time...and wanted to enforce some constraints on form...



Thanks


Divya


Divya,



        Yes you can write script in ACL's, but you can only restrict users from accessing the table and fields in the table. If you want to restrict related lists to certain users, client script is the only way, you cannot do it by writing ACL's




Thanks,


Abhinay




PS: Hit like, Helpful or Correct depending on the impact of the response


Divya,



    What exactly is your requirement?   Can you elaborate your requirement, I will try to see what I can do.