How can i hide fields based on user and role?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 02:52 AM
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.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 07:43 AM
Hello Dabrowski
Can you please explain me clearly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 08:09 AM
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