<div dir="ltr">+1</div><div class="gmail_extra"><br><div class="gmail_quote">On 22 July 2016 at 18:57, Marek Posolda <span dir="ltr"><<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1<br>
<span class="HOEnZb"><font color="#888888"><br>
Marek<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 22/07/16 11:51, Bruno Oliveira wrote:<br>
> Good morning,<br>
><br>
> I was working on this issue[1] this week and thinking about how<br>
> to tell our interface that the federation provider has read-only<br>
> attributes.<br>
><br>
> For example, today for the LDAPFederationProvider[2], we<br>
> provide server side validations telling our user that they cannot edit<br>
> those attributes. But still, input fields are editable and user<br>
> will only know after hit the submit button.<br>
><br>
> Not sure if makes sense, but very maybe if we provide a method<br>
> at UserFederation like:<br>
><br>
> boolean isReadOnly(); //defaults to false or override it and return true<br>
><br>
> And later expose it to the interface, we could bring the<br>
> text field properties set to read-only.<br>
><br>
> Does it make any sense?<br>
><br>
><br>
> [1] - <a href="https://issues.jboss.org/browse/KEYCLOAK-3060" rel="noreferrer" target="_blank">https://issues.jboss.org/<wbr>browse/KEYCLOAK-3060</a><br>
> [2] - <a href="https://github.com/keycloak/keycloak/blob/c7a8742a368bd8d76301145b08bb1e4af1b010e9/federation/ldap/src/main/java/org/keycloak/federation/ldap/ReadonlyLDAPUserModelDelegate.java#L38-L64" rel="noreferrer" target="_blank">https://github.com/keycloak/<wbr>keycloak/blob/<wbr>c7a8742a368bd8d76301145b08bb1e<wbr>4af1b010e9/federation/ldap/<wbr>src/main/java/org/keycloak/<wbr>federation/ldap/<wbr>ReadonlyLDAPUserModelDelegate.<wbr>java#L38-L64</a><br>
><br>
> --<br>
><br>
> abstractj<br>
> PGP: 0x84DC9914<br>
> ______________________________<wbr>_________________<br>
> keycloak-dev mailing list<br>
> <a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a><br>
<br>
______________________________<wbr>_________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a><br>
</div></div></blockquote></div><br></div>