Service Portal List Visibility Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2024 07:45 AM - edited 10-31-2024 05:14 AM
We have a custom scoped table with records that contain multiple list fields that reference the user table. Users who are related to the records via one of these list fields are given read access via a scripted ACL.
When one of these users goes to the portal, they will see a menu item in the banner if there are any records they can read. However, my issue is that, when they click the menu item, no records show in the list on the page.
If the user then goes to the platform and lists the records in the table via [custom table name].list, then refreshes the portal, they can see all the records where they are related. Bizarre!?!?
This only happens with users listed in one of the list fields; users in the other list fields can see the records right away, without having to first read them in the platform.
The ACL is being called when they attempt from the portal BEFORE they view the list in the platform, but the script returns false for all records when there are clearly records that exist. If they access the record from the portal via a link to the record itself, they can view it, but doing so does not change the results of trying to view the list in the portal.
So basically, until they access the table in the platform, they cannot see the records in the list in the portal.
I've looked at the portal configuration for the list (although I'm not great at portal, so am not sure what to look for), and the ACLs for the table and cannot figure out why this is happening. Any ideas?
This is the function called by the ACL, in case it's of any use. Also, this ACL is generating a 'slow acl' message in the logs.