scirpting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 06:48 AM
If the user has admin and change manager role then can edit the assignment group and assigned to field or else for another user it is read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 06:55 AM
Hi @shid077 ,
If anyone has admin role , by default they will be able to edit the assignment group and assigned to field and any other user won't have access anyways.
It is not advised to provide anyone lese to edit the assignment group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 07:37 AM
Hello @shid077
You can create write ACL and in script you can write.
if(gs.getUser().hasRole('admin') && (gs.getUser().hasRole('change manager'))
answer=true;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 07:14 AM
@shid077, You can try Write ACL on the Assignment group and Assigned to fields to check 'change_manager' role and have Admin override check box as true.
answer = gs.hasRole('change_manager') ? true : false;
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 07:56 AM
Hi @shid077 ,
You can create Write ACL and provide script in the ACL as
if(gs.getUser().hasRole('admin') )&& (gs.getUser().hasRole('change_manager')){
answer=true;
}
Please mark it as helpful if it is as helpful