How to create ACL for giving write access in two field of a list to a group of user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2023 04:16 AM
Hi All,
I need to give access to a group so that they can edit two columns in a list View. I want to give them a write access. The name of the list is 'UDI Sheet' and the fields are Launch date and remark.
Please provide me steps to create the ACL for this.
Thanks
Siddharth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2023 04:32 AM
Hi @Siddharth4 ,
Below are the steps:
1. Elevate to security admin
2. Go to system security> ACL
3. Create a new ACL
4. Type should be record, operation should be list_edit
5. Select the table and column in ACL which you want
6. Navigate to scripts
7. Below is the script:
var user = gs.getUserID();
if(user.isMemberOf("Name of the Assignment Group")){
answer = true;
}
Please mark helpful, if this suggestion has helped you.
Please mark correct, if this has helped you in solving the question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2023 05:06 AM
Hi Basheer,
Thanks for your reply, I tried but it's not working. I impersonate one of the member of the group and found that he is able to edit all the fields in the list.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2023 07:25 AM
In this case, first you need to write a table level ACL for write operation. - This will restrict all users from editing. - Same method as below but do not write any script and do not mention any column.
After doing this follow creating column level ACLs.
Below are the steps:
1. Elevate to security admin
2. Go to system security> ACL
3. Create a new ACL
4. Type should be record, operation should be list_edit
5. Select the table and column in ACL which you want
6. Navigate to scripts
7. Below is the script:
var user = gs.getUserID();
if(user.isMemberOf("Name of the Assignment Group")){
answer = true;
}
Please mark helpful, if this suggestion has helped you.
Please mark correct, if this has helped you in solving the question.