[jboss-jira] [JBoss JIRA] (WFLY-1625) WebConsole: Ability to mock different roles

Harald Pehl (JIRA) jira-events at lists.jboss.org
Wed Jul 3 15:31:21 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787326#comment-12787326 ] 

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}

The roles are case insensitive (see {org.jboss.as.controller.access.rbac.MockRoleMapper} for details)
                  
> 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


More information about the jboss-jira mailing list