Skip to content

Instantly share code, notes, and snippets.

@heiko-braun
Last active December 21, 2015 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heiko-braun/6229497 to your computer and use it in GitHub Desktop.
Save heiko-braun/6229497 to your computer and use it in GitHub Desktop.
with exceptions /subsystem=datasources/data-source=Test:read-resource-description()
[standalone@localhost:9990 /] /subsystem=datasources/data-source=Test:read-resource-description(access-control=trim-descriptions,operations=true){roles=maintainer}
{
"outcome" => "success",
"result" => {
"description" => undefined,
"access-constraints" => {"application" => {"data-source" => {"type" => "datasources"}}},
"attributes" => undefined,
"operations" => undefined,
"children" => {"connection-properties" => {"model-description" => undefined}},
"access-control" => {
"default" => {
"read" => true,
"write" => true,
"attributes" => {
[...]
},
"operations" => {
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"test-connection-in-pool" => {"execute" => true},
"remove" => {"execute" => true},
"read-resource-description" => {"execute" => true},
"enable" => {"execute" => true},
"read-resource" => {"execute" => true},
"add" => {"execute" => true},
"read-attribute" => {"execute" => true},
"whoami" => {"execute" => true},
"read-children-types" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"disable" => {"execute" => true},
"write-attribute" => {"execute" => true},
"flush-all-connection-in-pool" => {"execute" => true},
"flush-idle-connection-in-pool" => {"execute" => true}
}
},
"exceptions" => {"[(\"subsystem\" => \"datasources\"),(\"data-source\" => \"Test\")]" => {
"read" => true,
"write" => true,
"attributes" => {
[...]
},
"operations" => {
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"test-connection-in-pool" => {"execute" => true},
"remove" => {"execute" => false},
"read-resource-description" => {"execute" => true},
"enable" => {"execute" => true},
"read-resource" => {"execute" => true},
"add" => {"execute" => true},
"read-attribute" => {"execute" => true},
"whoami" => {"execute" => true},
"read-children-types" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"disable" => {"execute" => true},
"write-attribute" => {"execute" => true},
"flush-all-connection-in-pool" => {"execute" => true},
"flush-idle-connection-in-pool" => {"execute" => true}
}
}}
}
}
}
[standalone@localhost:9990 /]
@heiko-braun
Copy link
Author

line 221 contains an exception declaration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment