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

    • Bug
    • Resolution: Done
    • Minor
    • fuse-7.0
    • fuse-7.0
    • Karaf
    • None
    • % %
    • 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.

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            avano@redhat.com Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: