Page tree

Versions Compared

Key

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

...

These visibility rules are specified using one of the following formattwo formats:

  • restrict:token:<list of tokens>
  • { "NotRestricted": "<list of tokens>" }

The tokens are part of SCL security and can be assigned to users or user groups.
It allows designers to customize the application depending on the user.

The provided list of tokens is checked for any restricted tokens, and also includes CAN-DO function support.
If at least one of them is restricted, the tab will be hidden.

ExampleExamples:

Code Block
languagejs
restrict:token:Token1,Token2


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


Will be displayed only if Token1 and Token2 are not restricted for the current user.

...