Permissions relating to WebSockets

You can grant permissions for topics. This allows you to control that messages are only displayed to users for whom these messages are intended or relevant.
The permissions also enable you to control which user(s) can transger messages to a topic.

Step-by-step guide

To define user permissions for a topic, please proceed as follows:

  1. Open the properties of the application where you have created the topic.

  2. Switch to the "Authorizations" tab.

    Permissions

    Description

    Full access

    If you select this option, the corresponding user has the rights "Read topic" and "Write to topic".

    Read topic

    With this permission, you can control which users should be able to see WebSocket messages in the browser.

    Write to topic

    This right refers to the user of a process that contains a WebSocket action or a Groovy action with WebSocket functionality.
    You can execute processes in a user context. The permissions of the respective user are relevant in this case. If the user does not have the "Write to topic" right, then no WebSocket message is sent to the topic via the process and is also not displayed in the browser.

  3. Use the "Add" and "Remove" buttons to specify the users who should have the corresponding rights.

    You have defined the user permissions for a topic.