
- 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 06:59 AM
Thank you Shan.
You've made it clear who SHOULD NOT see the field and when, I'm just not clear who SHOULD see the field and when.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 07:01 AM
simply create an ui policy so in both case it will fulfill your requirement.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 07:10 AM
Dear Chuck,
In other words, Admin should be able to see this field for other user records except his/her. ( ideally, the user if he is an admin shouldn't his employment status. Hence the reason to block this field info for him/her. But can access this field for other user records.)
Thanks
Shan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 07:16 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 07:31 AM
Perfect Chuck,
That suits my requirement. Thanks once again.
Thanks
Shan