
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 03:18 AM
I have the Contract Management customized in my instance.
Users who do not belong to my Contract groups are also able to view records if they search any contract by its number from the global search.
I tried doing following but no help:
1.Updated the global text search properties for my contract table
2. Tried playing with Text search groups
3. Wrote before query BR:
var grpMember = gs.getUserID().isMemberOf(' My Contract group'); //name changed
if(grpMember) //Check if the current user is member of the group
{
gs.addInfoMessage("yes");
answer = 'true';
}
else
{
gs.addInfoMessage("no");
answer = 'false';
}
In this case, log prints no when we try searching from global text search but the record still appears.
4. Tried ACLs with condition:
if(gs.getUserID().isMemberOf(' My contract group'));
{
answer = true;
gs.log("ACL check true");
}
I do not want any users other than those who belong to 'My contract group' to be able to view contract records, not even via global text search.
Any help how do I resolve this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 03:50 AM
Hi Vineetha,
You can acheive it by using Read ACL and check if there is any Read ACL is masking this and giving access to ITIL users
if(gs.getUserID().isMemberOf(' My contract group'));
{
answer = true;
gs.log("ACL check true");
}
else
{
answer = false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 03:50 AM
Hi Vineetha,
You can acheive it by using Read ACL and check if there is any Read ACL is masking this and giving access to ITIL users
if(gs.getUserID().isMemberOf(' My contract group'));
{
answer = true;
gs.log("ACL check true");
}
else
{
answer = false;
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 09:43 AM
How do we check if one ACL is masking other ACLs ? Please guide me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 02:57 PM
go to the table and open ACLs defined on the table. Check how many read ACLs are there and make it one ACL with all your conditions defined

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2018 09:53 PM
Hello,
Thank you for your reply. It was an ACL issue only. Like you suggested, i made one ACL of all read ACLs that were there, now its working fine
Thanks.