I've got no issues with us adding it. If you add it to the DTO-like objects and implement support for both JPA and Mongo as well as add tests for it I'd be happy to accept a PR. Would also need updates to the Liquibase changelogs to add any required fields (assuming that's required).

Marek - do you have any comments?

On 13 September 2016 at 10:42, Geir Ole Hiåsen Stevning <gostevning@gmail.com> wrote:

Hi!

 

We have a use case where we need to know the time for when an End-User has given consent. Would it be possible to add a Date-like field in either UserConsentProtocolMapperEntity, UserConsentRoleEntity or UserConsentEntity, as we are using the JPA provider.

 

Furthermore, propagate this field in the corresponding DTO-like objects as UserConsentModel etc. Doing this will probably mean that additional providers will need to populate the field, i.e. mongo.

 

Is this something that you guys think is a good idea? I would be able to create a PR if you would like that.


-- 
Geir Ole H. Stevning

_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev