Description of problem:
The type of error communicated is not always precisely identified as an authorization issue over 1.0. E.g. when attempting to create a queue and not succeeding.
Version-Release number of selected component (if applicable):
Early Access
How reproducible:
100%, but requires looking at protocol level interaction.
Steps to Reproduce:
Using broker with protocol level logging enabled (--log-enable trace+:Protocol)
1. Attempt to send to a queue to which you have no permission
2. Attempt to send to a queue which doesn't exist, using create:always, when you don't have permission to create the queue
3. Compare the error condition
Actual results:
The former correctly sets the condition to "amqp:unauthorized-access", whereas in the latter it is "amqp:internal-error"
Expected results:
In both cases the condition should be "amqp:unauthorized-access".
Additional info: