Caplin Trader 5.1.0

Class: module:ct-presenter/domain/node/PermissionOptionsNodeList

module:ct-presenter/domain/node/PermissionOptionsNodeList(subject, namespace)

new module:ct-presenter/domain/node/PermissionOptionsNodeList(subject, namespace)

Constructs a PermissionOptionsNodeList subscribed to the given subject and namespace.

An OptionsNodeList that is populated with values retrieved from the module:ct-services/security/PermissionService singleton.

Extends:
  • module:br-presenter/node/OptionsNodeList
Parameters:
Name Type Description
subject String

The asset class and product, e.g. '/FX/USDCAD'

namespace String

The namespace for the permissions, e.g. 'Account'

Implements:

Extends

  • module:br-presenter/node/OptionsNodeList

Methods

setSubject(subject)

Update the Liberator subject that permissions are required for.

Parameters:
Name Type Description
subject String

The asset class and product, e.g. '/FX/USDCAD'