Example - Restrict a field with a script

This access control prevents everyone from editing an incident with a category of Software in a list. It is defined by a script.

Figure 1. Restrict Software Incidents
  • Type: record
  • Operation: list_edit
  • Name Incident:[incident]
  • Admin overrides: Clear the check box.
  • Script:
    if (current.category == 'software')
    answer = false;
    else
    answer = true;