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-28-2015 04:09 AM
My apologies, Pradeep. I dint get this. What exactly do I need to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 07:42 AM
What is the label of state field .... is it Incident Status Code .. Normally State is used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 07:48 AM
Yes Gurpreet, client wanted it like this so we changed the label.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 07:56 AM
Hi Shaveta,
could you share screen captures by turning on the 'security debugger' and impersonating the user in question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 07:58 AM
ok ... got it ... you have error in script at .isMemberOf('current.assignment_group');
it will treat it as string , you need to remove quotes ... like following
.isMemberOf(current.assignment_group);