Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We now support disabling forms using visibility rules.

This is done through the 'SecurityRestrictions' attribute on the form, and specified using the following format:


Code Block
titleFormat
{ "NotRestricted": "Token1,Token2" }


The provided list of tokens, which are part of Security Restrictions, is checked for any restricted token.

If at least one of them is restricted, the form will be locked.


Code Block
titleExamples
{ "NotRestricted": "CanCreate" }
{ "NotRestricted": "CanDelete" }
{ "NotRestricted": "CanModify,CanSaveChanges" }


Additionally, the provided list of tokens is handled like any other OpenEdge CAN-DO list. In the example below, if any token whose name begins with "Can" is found to be restricted, the form will be locked.


Code Block
titleCAN-DO Example
{ "NotRestricted": "Can*" }