Caplin Trader 4.8.0

Class: module:caplin/presenter/domain/node/PermissionOptionsNodeList

module:caplin/presenter/domain/node/PermissionOptionsNodeList

Constructor

new module:caplin/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:caplin/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'