caplin.services.providers.OpenPermissionService
returns ALL
to all permission requests. You may need to provide permission sets so that that
the OpenPermissionService
can return lists when they are requested
(for example, currency pairs). You can achieve this by using the #addPermissionSet() method.
Attributes | Name and Description |
---|---|
|
caplin.services.providers.OpenPermissionService()
Constructs a |
Attributes | Name and Description |
---|---|
|
void
addPermissionSet(String sNamespace, Array pPermissionSet)
Adds a permission set for the specified namespace, for example:
|
►
caplin.services.providers.OpenPermissionService()
Constructs a caplin.services.providers.OpenPermissionService
.
►
void
addPermissionSet(String sNamespace, Array pPermissionSet)
Adds a permission set for the specified namespace, for example:
oPermissionService.addPermissionSet("CurrencyPair", ["GBPUS", "GBPAUD"]);
String | sNamespace | The namespace for the permission set. |
Array | pPermissionSet | The list of permissions to return for the namespace. |