- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 12:06 AM
i created one Read only ACL for one table and i written below script but it's not working so please let me know my mistake
answer=true;
var ciLink=current.u_ci_link;
var gr= new GlideRecord("u_cmdb_ci_service_vmware_insta");
gr.addQuery('name',ciLink);
gr.query();
if(gr.next()){
var grd=new GlideRecord('u_alm_service');
if (grd.get(gr.u_itaas_asset_number))
answer =grd.getDisplayValue('assigned_to')==gs.getUserID();
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 12:38 AM - edited ‎02-19-2024 02:10 AM
Hi @mani55 ,
Can you try using Access Analyzer to assess your ACL if you are working on Vancouver
Please mark helpful/correct if my response helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 12:48 AM
every time it's going false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 12:52 AM
Hi @mani55 ,
Replace this line -" answer =grd.getDisplayValue('assigned_to')==gs.getUserID(); " with
" answer =grd.getValue('assigned_to')==gs.getUserID(); "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 01:59 AM
it's working for me but some other users it won't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 02:15 AM - edited ‎02-19-2024 02:17 AM
Hi @mani55 ,
What does the infoMessage return for other users (for whom its not working)?
Could there be any other conflicting ACLs?
Warm Regards,
Shivambi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 03:44 AM
may i know how we can check any other ACL is conflicting into my ACL