[jboss-jira] [JBoss JIRA] (WFLY-1700) RBAC: Differences between :read-resource() and :read-children-resource(child-type=fooBar)

Heiko Braun (JIRA) jira-events at lists.jboss.org
Tue Jul 16 02:38:26 EDT 2013


Heiko Braun created WFLY-1700:
---------------------------------

             Summary: RBAC: Differences between :read-resource() and :read-children-resource(child-type=fooBar)
                 Key: WFLY-1700
                 URL: https://issues.jboss.org/browse/WFLY-1700
             Project: WildFly
          Issue Type: Feature Request
          Components: Domain Management
            Reporter: Heiko Braun
            Assignee: Brian Stansberry


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

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

/subsystem=datasources/data-source=ExampleDS:read-resource(){roles=monitor}
{noformat}


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

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list