How to restrict records visibility based on ACL
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2023 01:45 AM - edited 11-19-2023 01:47 AM
As a Googler who submits the BRC Submission Survey and is added to the BRC Creator group, I should be able to perform specific actions based on the specified access controls in the acceptance criteria below:
Change to ACL role details:
- Any user who submits the BRC Submission Survey to create a BRC record should only be able to view the record pertaining to their survey submission.
- If a Googler submits a BRC Submission Survey they should not be able to view all the BRC records
- I have created one read ACL as below however it doesn't fix my requirement.
answer = checkUser();
function checkUser(){
if (gs.getUserID() == current.u_brc_creator){return true;}
return false;
}
Please assist.
0 REPLIES 0