- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 10:57 AM
Hi all,
I'm working on a customer service portal, and in the portal I need to allow non-roled users to see a widget called "My company's incidents", and then for them to be able to see all the records on the incident table that have the "company" field set to their company, regardless of who created it. Is this possible? The query I have on the widget is correct, but when impersonating users I cannot see the records created by other users. Anyone know how to do this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 11:14 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 11:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 11:37 AM
thanks so much David! Yes that seems to be the issue, we've de-activated that business rule and it's working. So you're saying all the logic necessary to control who can see what records from the incident table can be done here without having to touch any ACLs?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 01:25 PM
No problem!
No there are also ACL's at play that restrict CRUD activities against the Incident table the before query BR simply removes records that are not applicable for the user to access. When viewing in the normal UI the message "Security constraints removed xxx records" will show when ACLs prevent access. When the BR rule removes records this message isnt shown to end users so they basically get filtered out before the ACLs are run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 03:42 PM
Excellent David,
thanks so much for the explanation!