new module:ct-presenter /domain /node /Permission Options Node List(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' |
Extends
- module:br-presenter/node/OptionsNodeList
Methods
set Subject(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' |