Help Center> ROMA Connect> User Guide> Message Integration Guide> (Optional) Granting Permissions for Topics
Updated on 2022-10-27 GMT+08:00

(Optional) Granting Permissions for Topics

Overview

You need to grant permissions to integration applications only if MQS SASL_SSL is enabled for the ROMA Connect instance so that the integration applications can send messages to or receive messages from topics. When a client publishes messages into a topic and subscribes to a topic to obtain messages, the key and secret of the authorized integration application must be used for security authentication.

By default, the integration application to which a topic belongs has the permissions to publish and subscribe to messages in the topic.

Procedure

  1. Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
  2. In the navigation pane on the left, choose Message Queue Service > Topic Management. On the page displayed, click Grant Integration Application Permission in the Operation column of the topic to which you want to grant permissions.
  3. In the Grant Integration Application Permission dialog box, grant permissions for integration applications.

    In the Available area, select the integration applications to be authorized. In the Selected/All area, configure the topic permissions for the selected integration applications.

    Table 1 Authorization configuration

    Parameter

    Description

    Permission

    Select the topic permissions of the integration application.

    • Publish/Subscribe: Messages can be published to and subscribed from a topic.
    • Publish: Messages can be only published to a topic.
    • Subscribe: Messages can be only subscribed from a topic.

    Tag

    Add tags for publishing and subscribing to messages of a topic. Tags are used only in special service scenarios and do not need to be configured in general service scenarios.

    After a tag is added, the client needs to transmit the tag information when publishing and subscribing to messages in the topic. If there are multiple tags, the tags transmitted by the client must be a subset of the tags contained in the topic.

  4. Click OK.