grant topic

grant topic topic-name user=name | group=name permissions

Grants specified permissions to specified user or group on specified topic. The name following the topic name is first checked to be a group name, then a user name.

Specified permissions are added to any existing permissions. Multiple permissions are separated by commas. Enter all in the permissions string if you choose to grant all possible permissions.

Topic permissions are:

  • subscribe
  • publish
  • durable
  • use_durable

For more information on topic permissions, see User Permissions.

Destination-level administrator permissions can also be granted with this command. The following are administrator permissions for topics.

  • view
  • create
  • delete
  • modify
  • purge

For more information on destination permissions, see Destination-Level Permissions.