[jboss-jira] [JBoss JIRA] (WFLY-2263) Access control meta data: Instance references

Heiko Braun (JIRA) jira-events at lists.jboss.org
Tue Oct 8 14:17:02 EDT 2013


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

Heiko Braun commented on WFLY-2263:
-----------------------------------

when requesting access control meta data, we return a the 'default' policy per resource type and 'exceptions' (instance specific) 

Here's an 'exception': 

{noformat}
[("subsystem" => "datasources"),("data-source" => "ExampleDS")]={
    "read" => true,
    "write" => false,
   
    [...]
}
{noformat}

As you can see it uses the string representation of the instance address as the property key. This makes it really hard to match that key against requested resources. I would prefer the instance name to become the key, and instead provide an inline address represenation, of proper ModelType.LIST (like all other address attributes):

{noformat}
["ExampleDS"={
    instanceAddress = [("subsystem" => "datasources"),("data-source" => "ExampleDS")],
     "read" => true,
    "write" => false,
   
    [...]
}
{noformat}
                
> Access control meta data: Instance references
> ---------------------------------------------
>
>                 Key: WFLY-2263
>                 URL: https://issues.jboss.org/browse/WFLY-2263
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: Domain Management
>            Reporter: Heiko Braun
>            Assignee: Brian Stansberry
>             Fix For: 8.0.0.CR1
>
>


--
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