Qpid
  1. Qpid
  2. QPID-3844

Management ACL lacks the ability to perform queryMBean operation for non-admin users

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Existing user accounts with limited rights (non admin uses) cannot login into management console due to error: "Permission denied: Access queryMBeans".

      For example, ACL for the guest account can be configured like following

      #Allow 'guest' to perform read operations on the Serverinformation mbean and view logger levels
      ACL ALLOW-LOG guest ACCESS METHOD component="ServerInformation"
      ACL ALLOW-LOG guest ACCESS METHOD component="LoggingManagement" name="viewEffectiveRuntimeLoggerLevels"

      but "guest" user still is not be able to login because current implementation does not allow invocation of queryMBeans operation for non-admin accounts.

        Activity

        Alex Rudyy created issue -
        Alex Rudyy made changes -
        Field Original Value New Value
        Assignee Alex Rudyy [ alex.rufous ]
        Alex Rudyy made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Alex Rudyy added a comment -

        Attached a patch with a fix.

        Show
        Alex Rudyy added a comment - Attached a patch with a fix.
        Alex Rudyy made changes -
        Attachment 0001-QPID-3844-Operation-queryMBeans-does-not-require-aut.patch [ 12514657 ]
        Alex Rudyy made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Hide
        Alex Rudyy added a comment -

        Robbie,

        Could you please review and commit the patch attached?

        Show
        Alex Rudyy added a comment - Robbie, Could you please review and commit the patch attached?
        Alex Rudyy made changes -
        Assignee Alex Rudyy [ alex.rufous ] Robbie Gemmell [ gemmellr ]
        Alex Rudyy made changes -
        Attachment 0001-QPID-3844-Operation-queryMBeans-does-not-require-aut.patch [ 12514657 ]
        Alex Rudyy made changes -
        Hide
        Robbie Gemmell added a comment -

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1h 43m 1 Alex Rudyy 15/Feb/12 16:27
        In Progress In Progress Reviewable Reviewable
        2m 19s 1 Alex Rudyy 15/Feb/12 16:30
        Reviewable Reviewable Resolved Resolved
        19h 31m 1 Robbie Gemmell 16/Feb/12 12:01
        Resolved Resolved Closed Closed
        1091d 8h 4m 1 Rob Godfrey 11/Feb/15 20:06

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development