Home Documentation
Download Report a Bug/Github About Contact

User consent configuration

Starting from RedDog server v1.5.0 and rdap-core 1.3.0, If your systems allow to publish user contact information when they consent it you can publish that information in the RDAP response.

RedDog server offer 3 options:

To use global consent, the entity object needs to have an instance of the class UserConsentGlobal, also in this instance you need to indicate the consent is granted by the user setGlobalConsent("true")

To use consent by attributes, the entity object needs to have an instance of the class UserConsentByAttribute. In the instance of UserConsentByAttribute you need to set to true the attributes that will be published.

RDAP-sql-provider

If you are using our reference sql provider implementation we have provided two tables, each table are related to the two previous modes of user consent.

If you are using Global consent, you have to use the table user_global_consent, otherwise use the table user_consent_by_attributes.

Also you need to configure the type of consent to be use, more information here

Our recommendation is to fill the tables only by the entities that gave consent to publish his contact information.

Where to go next