<div dir="ltr">I think at the moment it is fair to say the issue manipulating the default configuration is understood and agreed, a very minor change from an administrator can prevent further automated modifications and the modifications that are made need to duplicated as the current default configuration.<div><br></div><div>We do have a proposal to move the default permissions into a new resource permission-set which will be referenced by the mapper, this will be a resource that is addressable by name. As subsystems are added to the server this will be the single place to add the permissions, as subsystems are removed this will be the single resource to remove the permission from. </div><div><br></div><div>If an administrator has chosen to use their own permission mappings instead of this permission set then they will not be affected by any automated updates.</div><div><br></div><div>The change we have proposed will also be compatible with previous versions using transformers as we can just in-line these permission sets in the transformed model.</div><div><br></div><div>We have been at this stage a couple of times but although we have an option to provide a single named resource that can be manipulated by patching this does not seem to be sufficient - I think that is where the sticking point is in achieving a solution for this.</div><div><br></div><div>Regards,</div><div>Darran Lofthouse.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 23 Mar 2018 at 15:55 Alexey Loubyansky <<a href="mailto:alexey.loubyansky@redhat.com">alexey.loubyansky@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>While this is addressed mainly to the Elytron team, it seems like we would appreciate opinions from other colleagues since we are basically stuck discussing possible ways to resolve <a href="https://issues.jboss.org/browse/WFCORE-3596" target="_blank">https://issues.jboss.org/browse/WFCORE-3596</a></div><div><br></div><div>The description in the jira is pretty brief assuming people know what that is about, since it's been raised before multiple times. Here is what it is about <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">fundamentally</span>.</div><div><br></div><div>If a configuration model (of a subsystem or any other component) includes a list of configurable units (let's assume XML elements for simplicity) that don't have any identity (unique id/name/path/etc) this is a big problem for supporting patching and version updates preserving user configuration changes. Or simply customizing the default config model using a tool. By a big problem I mean it's simply not going to work reliably.</div><div><br></div><div>As a simple exercise that demonstrates the issue, imagine you have two configs each of which includes a list of these configurable units that have no identity. Now try to identify the difference between the two lists. Or merge them with one overwriting the other. Basically components w/o an identity can not be manipulated. You can only add them but not modify or even remove (unless their index in the list is a constant value of course).</div><div><br></div><div>I don't think I've seen any issue of this kind in our (WF/EAP) configs except for the Elytron's permission-mapping's. (If somebody knows such components please let me know).<br></div><div>If I misunderstand the Elytron config model or approaching this from a wrong angle, please let me know.</div><div><br></div><div>Question for the Elytron team: is the problem I am describing clear? Do you admit it as a problem?</div><div><br></div><div>Thanks,</div><div>Alexey</div></div>
</blockquote></div></div>