[jboss-jira] [JBoss JIRA] (WFLY-2029) access-type attribute description and access-control section

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Oct 15 14:44:36 EDT 2013


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

Brian Stansberry commented on WFLY-2029:
----------------------------------------

I'm going to revert this behavior. The problem is "access-type" relates to how an attribute is handled *after* the resource is added; e.g. for the write-attribute op. It does not govern whether it is set by the user as part of resource add.

OTOH, the access-control "write" setting covers both add and post-add modification.

Mixing the two leads to things like the console not allowing the Maintainer role to set non-sensitive attributes in the form used for adding resources, e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1017062.
                
> access-type attribute description and access-control section
> ------------------------------------------------------------
>
>                 Key: WFLY-2029
>                 URL: https://issues.jboss.org/browse/WFLY-2029
>             Project: WildFly
>          Issue Type: Sub-task
>          Components: Domain Management
>            Reporter: Alexey Loubyansky
>            Assignee: Kabir Khan
>             Fix For: 8.0.0.Beta1
>
>
> <aloubyansky> bstansberry: i see that for attributes with access-type=read-only, the access-control section contains read=true, write=true
> <bstansberry> aloubyansky: can you file a JIRA, assigned to kabir, subtask of WFLY-490?
> <aloubyansky> bstansberry: you mean attribute's access-type and access-control section should be consistent?
> <bstansberry> aloubyansky: i mean you shouldn't have "write" as part of access control if the attribute isn't writable
> <bstansberry> aloubyansky: I definitely don't mean that the value of access-type should depend on access control

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