[jboss-jira] [JBoss JIRA] (WFLY-4880) Permission names are not persisted in the domain model

David Lloyd (JIRA) issues at jboss.org
Tue Jul 14 10:07:04 EDT 2015


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

David Lloyd commented on WFLY-4880:
-----------------------------------

This is exactly why these cannot be resources.  They could be a set, but we don't have support for sets.

Something like this would be much more reasonable (in DMR):
{noformat}
[
    { "type" => "java.security.SomePermission", "name" => "/foo/bar/-", "actions" => "read,write" },
    { "type" => "java.security.SomeOtherPermission", "name" => "/foo/bar/baz" },
    ...etc...
]
{noformat}

...where "actions" is an optional sub-attribute but type and name are required.

> Permission names are not persisted in the domain model
> ------------------------------------------------------
>
>                 Key: WFLY-4880
>                 URL: https://issues.jboss.org/browse/WFLY-4880
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management, Security Manager
>    Affects Versions: 10.0.0.Alpha4
>            Reporter: Josef Cacek
>            Assignee: Bartosz Baranowski
>            Priority: Critical
>
> Permission names used in the {{security-manager}} subsystem model are not persisted. It can simply lead to non-bootable server configuration.
> Expected behavior:
> The names used for permission model nodes are persisted in the model (e.g. in an {{alias}} attribute).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list