[ https://issues.apache.org/jira/browse/QPID-8160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall updated QPID-8160: ----------------------------- Description: If the Broker tries to create a sending link from a source but the user has insufficient permissions for that queue, I expect the {{detach }}to use error {{amqp:unauthorised-access}}. This currently does not happen, the Broker sends \{{amqp:amqp:internal-error }}instead. {noformat} [511142734:1] <- Detach{handle=1, closed=true, error=Error{condition=amqp:internal-error, description='Permission CREATE is denied for : Consumer '4|1|qpid-jms:receiver:ID:2a653090-1dbc-4433-955d-791b52540128:1:1:1:guestqueue' on Queue 'guestqueue'', info=null}}{noformat} was: If the Broker tries to create a sending link to a target but the user has insufficient permissions, I expect the {{detach }}to use error {{amqp:unauthorised-access}}. This currently does not happen, the Broker sends {{amqp:amqp:internal-error }}instead. {noformat} [511142734:1] <- Detach{handle=1, closed=true, error=Error{condition=amqp:internal-error, description='Permission CREATE is denied for : Consumer '4|1|qpid-jms:receiver:ID:2a653090-1dbc-4433-955d-791b52540128:1:1:1:guestqueue' on Queue 'guestqueue'', info=null}}{noformat} > [Broker-J] [AMQP 1.0] AccessControlException when creating sending link > reported as amqp:internal-error rather than amqp:unauthorised-access > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Key: QPID-8160 > URL: https://issues.apache.org/jira/browse/QPID-8160 > Project: Qpid > Issue Type: Bug > Components: Broker-J > Affects Versions: qpid-java-broker-7.1 > Reporter: Keith Wall > Priority: Minor > > If the Broker tries to create a sending link from a source but the user has > insufficient permissions for that queue, I expect the {{detach }}to use error > {{amqp:unauthorised-access}}. This currently does not happen, the Broker > sends \{{amqp:amqp:internal-error }}instead. > {noformat} > [511142734:1] <- Detach{handle=1, closed=true, > error=Error{condition=amqp:internal-error, description='Permission CREATE is > denied for : Consumer > '4|1|qpid-jms:receiver:ID:2a653090-1dbc-4433-955d-791b52540128:1:1:1:guestqueue' > on Queue 'guestqueue'', info=null}}{noformat} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org