- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2016 04:49 AM
Hi,
We have this requirement of allowing particular group to have access to delete the records from one particular table.
Delete ACL should work but I am not able to figure out how. Can anyone help?
Regards,
Ankita
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2016 05:11 AM
Hi Ankitha,
To achieve this functionality you have to write an acl script on delete
Firstly you have to get Elevate roles.
Create a ACL
Type: record
Operation : Delete
Name: table name
Advanced script:
if(gs.getUser().isMemberOf(group name)){
answer=true;
}
else
{
answer=false;
}
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2016 05:07 AM
Hi Ankita,
Please create delete acl
tablename . none
advanced is true
script:
answer = gs.getUser.isMemberOf('groupnameor sys_id');
Thanks and regards
Swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2016 05:11 AM
Hi Ankitha,
To achieve this functionality you have to write an acl script on delete
Firstly you have to get Elevate roles.
Create a ACL
Type: record
Operation : Delete
Name: table name
Advanced script:
if(gs.getUser().isMemberOf(group name)){
answer=true;
}
else
{
answer=false;
}
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2016 12:43 AM
Hi,
Glad to tell you that it did work. It was first time I was working with delete operation acls.
Thanks to all
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2016 05:11 AM