Skip to content

Clients that are not allowed to create queues, are not able to "addQueue" to create a subscribers #183

@zlintz

Description

@zlintz

In a running rabbit instance add a user with restricted permissions

rabbitmqctl add_user johnDoe “superSecretPassword”
rabbitmqctl set_user_tags johnDoe monitoring
rabbitmqctl set_permissions -p / johnDoe "^$" ".*" ".*"

After creating a connection with the newly added user.

Attempt to call the "Broker.prototype.addQueue" results in an error like...

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Failed to create queue 'queue.that.should.exist.already' on connection 'default' with 'Error: Operation failed: QueueDeclare; 403 (ACCESS-REFUSED)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions