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

Josef Cacek (JIRA) issues at jboss.org
Tue Jul 14 05:19:02 EDT 2015


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

Josef Cacek commented on WFLY-4880:
-----------------------------------

I agree, two equal permissions should be the error case. Nevertheless the model is wrong now. Possibilities to fix it are:
* use a list as David suggests;
* persist alias used during adding permission;
* enforce usage of the generated name in the {{add()}} operation;

Let's ask [~brian.stansberry], what's the most correct option to persist this permission data structure.

> 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: Darran Lofthouse
>            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