How can i hide fields based on user and role?

kasirao
Kilo Contributor

In my custom table have two fields

1.Manager Name

2.Mobile phone

When ever i am Impersonate to User Kasi Rao   with Admin role   on custom table above two fields will be displayed.

My requirement is like this

When ever i am Impersonate to User   Karthik Reddy with   Custom role .I want hide two field.

Is it possible to hide fields   based on Impersonate User?

If possible please help me.

11 REPLIES 11

kasirao
Kilo Contributor

Hello Dabrowski


Can you please explain me clearly.


Sure.



Go to Access Control on the table. Create new read ACL, select the table and the field you want to restrict, add admin role to it. Now only admins will be able to see selected field - repeat for a second field.




Regards



Greg