- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 03:01 PM
what acl do i make so a user can only read the records they create?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 04:57 PM
Yes, create a read ACL on your table (let’s say my_custom_table) with:
Operation: read
Type: table.None (or table.* if you want the rule to apply to all fields unless overridden)
if (current.sys_created_by == gs.getUserName()) {
return true;
}
return false;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 03:45 PM
Hi @juan9
Yes, you can create a Read ACL on table.none.
Either you can write the code in script field or directly add condition in the data condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 04:03 PM
Hi @juan9 ,
Yes, Table.None
Just this one line of code is enough
current.getValue('sys_created_by')==gs.getUserName()
Regards
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 04:57 PM
Yes, create a read ACL on your table (let’s say my_custom_table) with:
Operation: read
Type: table.None (or table.* if you want the rule to apply to all fields unless overridden)
if (current.sys_created_by == gs.getUserName()) {
return true;
}
return false;