- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2025 08:05 PM
Hello I am trying to write an acl where the current logged user can only read its own records. Can I do it without script ? If so how can i do it ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 12:16 AM
Hi @SallaMbaye
Navigate to ACLs:
- Go to System Security > Access Control (ACL).
Create a New ACL:
- Click New.
- Choose the table you want to restrict (e.g., Incident, Task, or a custom table).
- Set the Operation to read.
Set the Condition:
In the Condition field, use a condition like:
Created by is (dynamic) Me
or
Requested for is (dynamic) Me
depending on your table structure.
The “(dynamic) Me” option is a built-in dynamic filter that automatically matches the current logged-in user.
Leave Script Empty:
- Do not check the Advanced checkbox.
- Leave the Script field empty to avoid scripting.
Save the ACL.
"Kindly mark this post as helpful or accept it as the solution if it resolved your issue."
Regards,
Roshnee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2025 11:52 PM
In "Data Condition" section of your Access Control record, use:
"your Ref field to user" "is" "javascript:gs.getUserID()"
or an alternative:
"your Ref field to user" "is (dynamic)" "Me".
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 12:16 AM
Hi @SallaMbaye
Navigate to ACLs:
- Go to System Security > Access Control (ACL).
Create a New ACL:
- Click New.
- Choose the table you want to restrict (e.g., Incident, Task, or a custom table).
- Set the Operation to read.
Set the Condition:
In the Condition field, use a condition like:
Created by is (dynamic) Me
or
Requested for is (dynamic) Me
depending on your table structure.
The “(dynamic) Me” option is a built-in dynamic filter that automatically matches the current logged-in user.
Leave Script Empty:
- Do not check the Advanced checkbox.
- Leave the Script field empty to avoid scripting.
Save the ACL.
"Kindly mark this post as helpful or accept it as the solution if it resolved your issue."
Regards,
Roshnee