Caplin Trader 4.8.0

Class: module:caplin/sljsadapter/providers/StreamLinkPermissionService

module:caplin/sljsadapter/providers/StreamLinkPermissionService

This class connects to a permission data source via a StreamLink connection. This class allows you to query the product permissions of the currently logged in user, or the permissions they have when they are trading on behalf of another user.

This class depends on being able to query the StreamLink username from a currently registered UserService. Ensure that a UserService (e.g. the {@link caplin.sljsadapter.providers StreamLinkUserService}) is configured, registered and will return the username before constructing this class.

See module:caplin/security/permissioning/AbstractPermissionService for more details.