You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/09/30 16:59:44 UTC

[jira] Created: (QPID-1307) SimpleXML ACL does not allow user to consume from temporary queues and named queues

SimpleXML ACL does not allow user to consume from temporary queues and named queues
-----------------------------------------------------------------------------------

                 Key: QPID-1307
                 URL: https://issues.apache.org/jira/browse/QPID-1307
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: M2.1, M3
            Reporter: Martin Ritchie


If an ACL is configured such that a user has rights to consume from a temporary queue and a named queue such as:

<queue>
    <name>TestQueue</name>
    <users>
        <user>martin</user>
    </users>
</queue>
<queue>
    <temporary/>
    <users>
        <user>martin</user>
    </users>
</queue>

Then the granting of access to temporary queues will prevent access to named queues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1307) SimpleXML ACL does not allow user to consume from temporary queues and named queues

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1307:
-----------------------------------

    Assignee: Martin Ritchie

> SimpleXML ACL does not allow user to consume from temporary queues and named queues
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-1307
>                 URL: https://issues.apache.org/jira/browse/QPID-1307
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1, M3
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M5
>
>
> If an ACL is configured such that a user has rights to consume from a temporary queue and a named queue such as:
> <queue>
>     <name>TestQueue</name>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> <queue>
>     <temporary/>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> Then the granting of access to temporary queues will prevent access to named queues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1307) SimpleXML ACL does not allow user to consume from temporary queues and named queues

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1307:
-----------------------------------


Moving items not being worked on afaik out of M4 Fix Version

> SimpleXML ACL does not allow user to consume from temporary queues and named queues
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-1307
>                 URL: https://issues.apache.org/jira/browse/QPID-1307
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1, M3
>            Reporter: Martin Ritchie
>
> If an ACL is configured such that a user has rights to consume from a temporary queue and a named queue such as:
> <queue>
>     <name>TestQueue</name>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> <queue>
>     <temporary/>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> Then the granting of access to temporary queues will prevent access to named queues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1307) SimpleXML ACL does not allow user to consume from temporary queues and named queues

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1307:
---------------------------------

    Fix Version/s:     (was: M5)

> SimpleXML ACL does not allow user to consume from temporary queues and named queues
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-1307
>                 URL: https://issues.apache.org/jira/browse/QPID-1307
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1, M3
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>
> If an ACL is configured such that a user has rights to consume from a temporary queue and a named queue such as:
> <queue>
>     <name>TestQueue</name>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> <queue>
>     <temporary/>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> Then the granting of access to temporary queues will prevent access to named queues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-1307) SimpleXML ACL does not allow user to consume from temporary queues and named queues

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665457#action_12665457 ] 

Martin Ritchie commented on QPID-1307:
--------------------------------------

The problem here is that the temporary value is stored as a global for a user and set based on the presence (or lack there of) in a <queue> block.

This means that if access to temporary queues is desired then currently the last <queue> entry must contain the <temporary/>  tag. 

What should happen is that the temporary should be set by the presence of the <temporary/> tag but not unset by the lack of it.

> SimpleXML ACL does not allow user to consume from temporary queues and named queues
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-1307
>                 URL: https://issues.apache.org/jira/browse/QPID-1307
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1, M3
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M5
>
>
> If an ACL is configured such that a user has rights to consume from a temporary queue and a named queue such as:
> <queue>
>     <name>TestQueue</name>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> <queue>
>     <temporary/>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> Then the granting of access to temporary queues will prevent access to named queues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1307) SimpleXML ACL does not allow user to consume from temporary queues and named queues

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1307:
-----------------------------------

    Fix Version/s: M5

> SimpleXML ACL does not allow user to consume from temporary queues and named queues
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-1307
>                 URL: https://issues.apache.org/jira/browse/QPID-1307
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1, M3
>            Reporter: Martin Ritchie
>             Fix For: M5
>
>
> If an ACL is configured such that a user has rights to consume from a temporary queue and a named queue such as:
> <queue>
>     <name>TestQueue</name>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> <queue>
>     <temporary/>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> Then the granting of access to temporary queues will prevent access to named queues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.