Univention Bugzilla – Bug 55553
Schema Extension & UMC adaption: Gender & Place of Birth
Last modified: 2024-01-04 17:11:55 CET
As agreed in PM/PS Sprechstunde, here's the Feature Request for this: U@S customer asks for schema extension for gender and place of birth/birthplace. This request is currently implemented as a customer specific solution - for each and every customer. Because there is a broad need for such schema extensions like gender and place of birth, it would make sense to have a generic solution for this. This should be: - optional - make use of attributes from other standard schemas/RFCs - in case of gender: be freely configurable, either as freeform or (maybe better) a configurable set of genders that can be chosen from. - maybe there are other attributes as well
univention-ldap.yaml 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-ldap (16.0.13-2) 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-ldap (16.0.13-1) 8776bff09ee3 | Bug #55553: add placeofBirth and gender to univentionPerson and userTemplate univention-directory-manager-modules.yaml 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-directory-manager-modules (15.0.24-4) c93ecfb0ee69 | Bug #55553: Include new properties in unittest 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-directory-manager-modules (15.0.24-3) c017998c4be5 | Bug #55553: add placeofBirth and gender to user syntax ucs-ec2-tools (1.0.1-12) r55553 | performance tests: use install_apps (Bug #36503)
OK: placeOfBirth / univentionPlaceOfBirth OK: gender / univentionGender following ISO 5218 ISO/IEC 5218 Information technology — Codes for the representation of human sexes is an international standard that defines a representation of human sexes through a language-neutral single-digit code. https://en.wikipedia.org/wiki/ISO/IEC_5218 OK: schema defintion and description OK: property defintion and description OK: searching for gender=Male or placeOfBirth=Bremen or placeOfBirth=Bre* OK: UDM REST API representation as simple strings. OK: YAML
Now the gender is free selectable Now gender / univentionGender DON'T follow ISO 5218 ------------------------------------------------------ univention-ldap.yaml 1e71320dc8d6 | Bug #55553: Update changelog + advisory 53f1b08ce246 | Bug #55553: Fix univention-ldap advisory scope+version 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-ldap (16.0.13-3) 1e71320dc8d6 | Bug #55553: Update changelog + advisory univention-ldap (16.0.13-2) cb56add85622 | Bug #55553: Make gender free selectable 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-ldap (16.0.13-1) 8776bff09ee3 | Bug #55553: add placeofBirth and gender to univentionPerson and userTemplate univention-directory-manager-modules.yaml 1e71320dc8d6 | Bug #55553: Update changelog + advisory 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-directory-manager-modules (15.0.24-7) d3d18ea32f00 | Bug #55553: Update unittest 1e71320dc8d6 | Bug #55553: Update changelog + advisory univention-directory-manager-modules (15.0.24-6) cb56add85622 | Bug #55553: Make gender free selectable univention-directory-manager-modules (15.0.24-4) c93ecfb0ee69 | Bug #55553: Include new properties in unittest 13e91f4ed7e5 | Bug #55553: advisory and update changelog univention-directory-manager-modules (15.0.24-3) c017998c4be5 | Bug #55553: add placeofBirth and gender to user syntax
Erik complained about non-free-choosable genders. OK: gender is now a free-selectable choice.
(In reply to Florian Best from comment #5) > Erik complained about non-free-choosable genders. This feels a bit one sided, so here is what i wrote: --- If i am not wrong, there are currently 4 predefined values for Gender, which are available in the default syntax we will ship: 'Not known' 'Male' 'Female' 'Not applicable' Even if those are values that are coming from an "official" source (ISO/IEC 5218 [1]), has there been a discussion about the default available values we ship with UCS? I cannot find anything on the bug or on the gitlab issue. I think that as an open company, Univention cannot ship a predefined list of only 2 Genders. In my view, that does not represent our company values. I think that we must include a 'divers' Option [2] by default as well. And we need to have an easy option for customers to add or rename the options available to them. Also, the feature request asked specifically about a freeform field or a configurable set of genders to choose from. Now, we have a hardcoded list. Customers must write a new Syntax if they want different values in UDM. The feature request was specifically about getting rid of the need for customer specific implementations. Best regards, Erik [1] https://en.wikipedia.org/wiki/ISO/IEC_5218 [2] Divers is a third gender identity you can legally use in Germany https://de.wikipedia.org/wiki/Divers
Reopen: I took a look at the current implementation and want to discuss it further, outside of bugzilla. Please see my follow-up mail.
The changes have been reverted for now as the requirements are not clear. 8b41e82abb Bug #55553: changelog entries for revert 774827aa7e Bug #55553: remove advisories 67763b0e8c Revert "Bug #55553: add placeofBirth and gender to univentionPerson and userTemplate" db65c39d74 Revert "Bug #55553: add placeofBirth and gender to user syntax" 395b5e2753 Revert "Bug #55553: Include new properties in unittest" 144ddbcea7 Revert "Bug #55553: Make gender free selectable" 77f367d421 Revert "Bug #55553: Update unittest"