
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 05:58 AM
How can I setup and ACL on the RITM table so that the approver has Read only access?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:33 AM
I finally got a response from Hi. I have made the Original ACL inactive and crated a new one with the following code. So far it seems to be working in my dev instance.
isHisApproval();
function isHisApproval(){
if(current.isNewRecord() || current.opened_by == gs.getUserID() || current.request.requested_for == gs.getUserID() ||
gs.hasRole('itil')){
return true;
}
var lv_app_obj = new GlideRecord('sysapproval_approver');
lv_app_obj.addQuery('approver', gs.getUserID());
lv_app_obj.addQuery('sysapproval', current.sys_id);
lv_app_obj.query();
if(lv_app_obj.next()){
return true;
}
return false;
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 07:23 AM
I'm not sure where the glide.approval is
But, are there any read ACL's with * on request item table. Can you check that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 07:58 AM
There are not read ACL with a * on the table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 02:01 PM
Also check for a record ACL with read permissions on Requested Item, this would appear as table_name only (i.e., no *) in the ACL list.
e.g., 'sc_req_item' / '--none--'
Thanks,
-Brian

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2017 04:07 AM
None of them have a * they are all just table name except for a few that are sc_req_item.something. If you mean having a read ACL with no roles that would allow everybody to see anybodies RITM which is not allowed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2017 07:41 AM
We are having the same issue. I'm about to enter a HI ticket as it seems like the OOB ACL isn't working.