Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7635

Discrepancy in bundle:start-level command and jmx ACL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: fuse-7.0
    • Fix Version/s: fuse-7.0
    • Component/s: Karaf
    • Labels:
      None
    • Environment:

      7.0.0.134

    • Sprint:
      Fuse 7.0 Sprint 26

      Description

      ACL for command (org.apache.karaf.command.acl.bundle.cfg):

      start-level = admin, manager
      start-level[/.*[-][f].*/] = admin, manager
      

      ACL for JMX (jmx.acl.org.apache.karaf.bundle.cfg):

      setStartLevel(java.lang.String, int)[/([1-4])?[0-9]/,/.*/] = admin
      setStartLevel = admin, manager
      

      If I get it right, only admin should be able to change the start-level for system bundles (id between 0-49 according to the regex) through JMX, however, in karaf console the manager can set the start-level for all bundles.

      And if I got the regex right, manager should not be able to set start-level of bundles with id 0-49 through JMX, but he is able to do so.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ffang Freeman(Yue) Fang
                Reporter:
                avano Andrej Vaňo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: