How to restrict user access to records on a table based on current user same as field on table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2024 12:37 PM
I need to limit the records that a user can see when they access records on one of my tables.
I have a table that users with several different roles has access to.
There is one user in particular ( my loan officer user) that I ONLY want them to be able to see the records where they are the loan officer.
I tried this this business rule so far, and it isn't working. When I impersonate a user with the this role , they can still access records where they are not the loan officer.
Here is my code I am using. Be gentle as I am still learning my scripting. will copy in text and attach an image
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2024 11:19 PM
Hi @kdelbridge
Create a read acl. Use answer = true for access & answer = false for abort.
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2024 03:51 AM
Hi @kdelbridge,
Have you considered using data filtration instead?
It shouldn't require you to write any code.
But if you do insist on using the BR, can you confirm that you are using the 'Query' BR to block access?
Thanks