
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 06:42 AM
Hi All,
Did any one encounter such scenario.. How does it work.. I am working on something like this..
I have a field in user table ( employee status).
1)This field should be visible for roles ITIL and HR. ( ACL should work here).
2) For the user who ever logs in.. he/she shouldn't see this field ( Even if having ITIL/HR Role)
3) Even if the logged in user is admin.. should not see this Employee Status field.
How do we achieve this..
Rather simply put.. The user who ever logs in when he checks his profile.. he shouldn't see his/her Employee status field.
Thanks in Advance
Shan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 07:16 AM
Then your ACL would grant read access with the condition:
Sys ID | is NOT | javascript:gs.getUserID()
If the Sys ID of the current record is not the same as the user's Sys ID, they'll get read access.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 07:36 AM
You are welcome.
If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
If you are viewing this from the community inbox you will not see the correct answer button. If so, please review How to Mark Answers Correct From Inbox View.
Thank you