Show incident rows only to the assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 07:04 AM
Hi,
Is there a way to define that only the assignment group could see her incident rows?
I tried to write an ACL:
Operation: read
script:
if(gs.getUser().isMemberOf(current.assignment_group))
{
answer=true;
}
else
{
answer=false;
}
however, the group members can't see any of the records (i attached a screenshot)
The member that i impersonated should have seen the first 3 rows
Also - I want the ones that are not in the assignment group to not see the records at all - instead of these empty records
Thank you in advance
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2018 09:15 AM
This business rule script worked great for me, thank you for sharing!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2017 01:49 AM
Do you really want to do this? This of others things this will affect like ServiceDesk not being able to see them or Reporting etc.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2017 01:53 AM
Hi shany,
check if there are other ACLs which restrict read access on field level. It seems the user has access to the records, but not to the fields.
Also this might be helpful: Access control list rules
and this: ACL debugging tools
Regards,
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2017 04:37 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2017 05:00 AM
Did you already try to debug your ACLs like described here:
?
At least this will point to the ACL(s) which currently block access to the records. Then we can look into the details.