Hi everyone..I have written ACL for restricting write access on incident state field so that this field should be accessible only if state is not one of 'Resolved', 'Closed' or 'Cancelled' and logged in user is a member of 'Assignment Group'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 06:21 AM
Hi everyone..I have written ACL for restricting write access on incident state field so that this field should be accessible only if state is not one of 'Resolved', 'Closed' or 'Cancelled' and logged in user is a member of 'Assignment Group'. For some reason, it is not working as expected. Below is the screenshot for same.
Also please note that I have actually changed an existing one so at field level I guess there should be no issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 07:00 AM
Have answer = checkIfMember(); in the script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 07:05 AM
Script looks good. Can you please turn on debugger and check what is causing the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 07:49 AM
Thanks Pradeep. I changed the script, it dint help. I will turn on debugger and try.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 11:30 AM
Hi Shaveta,
Okay looks like you have hardcoded the value current.assignment_group. Just make that change and let me know the outcome.