[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Description
CHANGES
This change adds the creation of a customer in keycloak if a digital license item was purchased and verified. A license item holds now a license item group and the user is added to this group to get access to the corresponding edition in wp.
IMPORTANT TO KNOW
This needs changes in the frontend in order to configure the licenseGroup for keycloak to be set dynamically e.g. for new editions of the epaper.
Also i changed the log.error(err) to a more meaningful output in order to debug the queries better.
The parser should now update
paper image
paper edition number as digital license license group
color
TODO
Send emails
Checklist:
[X] I have commented my code (or ChatGPT did), particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings, neither in my IDE nor in my browser
[X] I have added tests that prove my fix is effective or that my feature works
Type of change
Description
CHANGES
This change adds the creation of a customer in keycloak if a digital license item was purchased and verified. A license item holds now a license item group and the user is added to this group to get access to the corresponding edition in wp.
IMPORTANT TO KNOW
This needs changes in the frontend in order to configure the licenseGroup for keycloak to be set dynamically e.g. for new editions of the epaper. Also i changed the log.error(err) to a more meaningful output in order to debug the queries better. The parser should now update
TODO
Send emails
Checklist: