- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 07:29 PM
We have a Security incident field to the incident form and a Security Incidents table, our client wants it to be visible only to their group. Can this be done via ACL?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 07:42 PM
Hi @Vengeful ,
Yes the field can be hidden displayed via ACL to users of a particular group.
You just need to create a field level ACL for security incident field to be displayed & under script section for the ACL u can write below script
if(gs.getUser().isMemberOf('')){ // enter group name under qoutes
answer = true;
}else{
answer = false
}
& for module u can edit that module via the pencil icon available next to it & provide the role which only that group has.This way it will only be visible to that group.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 07:42 PM
Hi @Vengeful ,
Yes the field can be hidden displayed via ACL to users of a particular group.
You just need to create a field level ACL for security incident field to be displayed & under script section for the ACL u can write below script
if(gs.getUser().isMemberOf('')){ // enter group name under qoutes
answer = true;
}else{
answer = false
}
& for module u can edit that module via the pencil icon available next to it & provide the role which only that group has.This way it will only be visible to that group.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 12:23 AM
Hello @Danish Bhairag2 ,
I created this ACL, I am not sure if I'm missing condition or what.
Here's the result, the Security Incident field is read-only when create new incident. How can I make it non-visible?
And for the incident that was already created, the Security Incident field is not grayed out. How can I make it non-visible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 12:28 AM - edited 10-18-2023 12:28 AM
Hi @Vengeful ,
Can u try creating a Read ACL instead of Create n check if its visible or not.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 12:35 AM - edited 10-18-2023 12:35 AM
I already figured it out. I missed to create read ACL. Thanks for the help.