While this does not appear to be occurring with all ACLs, we have an occurrence in our platform that will lead to a scripted Write ACL evaluating to True. When this occurs, Write access is given to the record, but the Email icon is not displaying. The Email icon should display by default when the user has Write access to the existing record.

Reproduced in Calgary and Eureka.

Steps to Reproduce

  1. Go to System Security > Access Control (ACL)
  2. Search for Name = incident AND Operation = write
  3. Deactivate the two ACLs in place and click New.
  4. Enter the following into the Script field and click Submit:

var vGroup = current.assignment_group.getDisplayValue();
var vUser = gs.getUserID();

if (gs.getUser().isMemberOf(vGroup)) {
answer = true;
} else {
answer = false;

Note that any Incident present is associated to the Group Software (for example: INC0000002, with the default demo data in place).

  1. Impersonate a user who is a member of that group. 
  2. Open the incident previously noted.
  3. While the user will have Write access to the record, the Email icon will not display in the upper left. If you have Debug All Security enabled, you will see the incident/Write ACL evaluate to both True and False.

Note: you might only see the False output the first time the form is accessed after clearing the cache.]



This problem has been fixed in Calgary Patch 5, Dublin, and Eureka.

An instance upgrade is recommended.

A possible workaround consists in removing the following condition:

active = true

and setting alternate conditions on the task State, for example: 

Condition: State IS NOT Closed
Script: answer=true;

Related Problem: PRB592545

Seen In

Berlin Patch 10
Berlin Patch 9 Hot Fix 2
Calgary Patch 1
Calgary Patch 2
Calgary Patch 2 Hot Fix 5
Calgary Patch 2 Hot Fix 8
Calgary Patch 3 Hot Fix 1
Calgary Patch 4
Dublin EA 7
Dublin EA 8
Dublin Patch 3 Hot Fix 1

Fixed In

Calgary Patch 5
Dublin EA 9

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-11-07 11:09:11