[
https://issues.jboss.org/browse/WFLY-1625?page=com.atlassian.jira.plugin....
]
Harald Pehl edited comment on WFLY-1625 at 7/3/13 3:30 PM:
-----------------------------------------------------------
Available roles:
- Monitor
- Configurator
- Operator
- Maintainer
- Deployer
- Administrator
- Auditor
- SuperUser
To execute a DMR operation on behalf of a specific role, one must add the
{{operation-headers}} node and the {{roles}} attribute:
{code}
{
"operation" => "foo",
"address" => [("foo", "bar")],
"operation-headers" =>
{
"roles" => "operator"
}
}
{code}
The roles are case insensitive (see {org.jboss.as.controller.access.rbac.MockRoleMapper}
for details)
was (Author: harald.pehl):
Available roles:
- Monitor
- Configurator
- Operator
- Maintainer
- Deployer
- Administrator
- Auditor
- SuperUser
To execute a DMR operation on behalf of a specific role, one must add the
{{operation-headers}} node and the {{roles}} attribute:
{code}
{
"operation" => "foo",
"address" => [("foo", "bar")],
"operation-headers" =>
{
"roles" => "operator"
}
}
{code}
WebConsole: Ability to mock different roles
-------------------------------------------
Key: WFLY-1625
URL:
https://issues.jboss.org/browse/WFLY-1625
Project: WildFly
Issue Type: Feature Request
Components: Web Console
Reporter: Heiko Braun
Assignee: Harald Pehl
--
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