Qpid
  1. Qpid
  2. QPID-3844

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • 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

        Hide
        Alex Rudyy added a comment -

        Attached a patch with a fix.

        Show
        Alex Rudyy added a comment - Attached a patch with a fix.
        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?
        Hide
        Robbie Gemmell added a comment -

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development