- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2018 09:48 AM
We have a few catalog requests that contain private data. As such, we only want the "requested for", "opened by", and members of the approval group to be able to see the submitted requests (RITM).
We are able to hide the variables section on the RITM by either using a catalog client script or a business rule within the platform, but it doesn't work in the Service Portal. Ideally, we would be able to hide the RITM altogether (not just hide the variables section) from a user who should not be able to access it in both the platform and the Service Portal.
Has anyone solved this for both the platform and portal, and if so, how?
Susan Williams, Lexmark
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2018 10:38 AM
Sorry, I meant read ACL...
Anyway, here's what my read ACL looks like:
Script:
var answer = (gs.hasRole("itil") || current.request.opened_by == gs.getUserID() || current.request.requested_for == gs.getUserID() || current.request.requested_for.manager == gs.getUserID() || current.request.opened_by.manager == gs.getUserID() || current.watch_list.indexOf(gs.getUserID()) > -1);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2018 10:32 AM
You should be able to do this via write ACL on the RITM table. I can provide my mess of an ACL that locks it down if you want something to start with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2018 10:34 AM
That would be fantastic. Thank you!
Susan Williams, Lexmark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2018 10:38 AM
Sorry, I meant read ACL...
Anyway, here's what my read ACL looks like:
Script:
var answer = (gs.hasRole("itil") || current.request.opened_by == gs.getUserID() || current.request.requested_for == gs.getUserID() || current.request.requested_for.manager == gs.getUserID() || current.request.opened_by.manager == gs.getUserID() || current.watch_list.indexOf(gs.getUserID()) > -1);