ACL script works on the task, but isn't working on requested item table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 08:04 AM - edited ‎03-11-2024 08:06 AM
We have yet to implement to the HR tool but our HR department is starting to use the catalog requests. As a workaround until we do, I've created a role to restrict access to the HR requests they're receiving. They have asked that we restrict access to RITMs and Tasks to the HR groups and the requestor of the individual requests. I've been able to restrict the tasks correctly, but for some reason the requestor still can't see the RITMs. This script works for the task ACL but for some reason it's not on the requested item table, any suggestions why this isn't working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 08:34 AM
Hi @phaug ,
If you want the logged in user to view RITM and user should be either requested by or requested for then try doing below,
inside if write answer = 'true'; and inside else answer = 'false';
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 08:54 AM
I've made this update, but it's still not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 01:07 PM
Hi @phaug,
Instead of writing an ACL, have you considered using Data Filtration?
The article below provides a good explanation of how to set it up.
Cheers