Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1700

RBAC: Differences between :read-resource() and :read-children-resource(child-type=fooBar)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Alpha4
    • None
    • Management
    • None

      :read-children-resources() doesn't contain the access control meta data. Please compare the response of these two operation, which should be equivalent:

      /subsystem=datasources:read-children-resources(child-type=data-source){roles=monitor}
      
      /subsystem=datasources/data-source=ExampleDS:read-resource(){roles=monitor}
      

      The later returns:

      "response-headers" => {"access-control" => [{
              "absolute-address" => [
                  ("subsystem" => "datasources"),
                  ("data-source" => "ExampleDS")
              ],
              "relative-address" => [],
              "filtered-attributes" => [
                  "user-name",
                  "security-domain",
                  "password"
              ]
          }]}
      

      which is missing from the response of the :read-children-resources() operation

            bstansbe@redhat.com Brian Stansberry
            rhn-support-hbraun Heiko Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: