- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 02:12 AM
Hi,
I want to hide a field from sys_popup view but that field should be visible only to service_desk role users.
That role already exists in my instance.
Can anybody help me with that. Let me know if i can achieve this without coding.
Thanks,
Vaishnavi
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 05:02 AM
Hi,
Yes as you said intially that you have that role in your system right so you can add that role. No script needed. If on role then you need to script as below to see if the user if part of that group or not
if(gs.getUser().isMemberOf('sys_id of Service Desk Group')){
answer = true;
}else{
answer = false;
}
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 02:20 AM
HI,
Unfortunately, as far as I know, the reference icon hover over popup does not run client scripts when the popup generates.
So might not be possible using UI policy or client script,
But i think you can do it using ACLs.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 02:35 AM
Hi Ashutosh,
I have tried testing in OOB instance it says action not authorised for ACL.
Name here it is sys_user right?
My issue - there is a button which shows my user record information like this,
I want to Hide the Password Reset Pin field when anybody tries to open it.As its showing the Pin there.
Only visible to users with service_desk role.
Thanks,
Vaishnavi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 03:01 AM
HI,
The ACL is wrong.
You need to select table as user table and field.
incident.password reset pin.
Same read acl.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 04:24 AM
Hi,
Okay.
Under roles... i have to just give service_desk role?
can you help me with ACL
Thanks