Business Rule/ACL to allow users to view only the records they created in list view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 06:08 AM
Hello,
Could someone tell me a business rule/script that allows users to only view records they created in list view? This should not block them from creating new records or modifying their existing records
Thanks.
- Labels:
-
Scripting and Coding
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 07:57 PM
its a reference of the sys_user table, the ACL's created are just the regular read, write, delete, create. No roles assigned to each of them.
I was able to address the issue by changing the statement to if(current.getvalue('u_name')==gs.getuserID()) return true;
where u_name is the reference of sys_user table. I am not sure if its the right way to do it but it works fine.
Thanks.