Skip to content

Age group as an optional alternative to birthdate for age verification (userdb: add ageGroup field to JSON user records) #40974

@schrmh

Description

@schrmh

Component

systemd

Is your feature request related to a problem? Please describe

Basically an additional alternative to #40954, which might appeal a bit more to adults and some institutions. (Separate issue cause I got asked to rather create an issue.)
Reasoning for consideration and some concerns with only supporting birthDate:
#40954 (comment)
(but especially this:) #40954 (comment)

Describe the solution you'd like

Implemented similar to the PR I mentioned.
"adult" could be stored (or -1 for adults if we support putting in actual age to enable access to age-restricted media and we don't want strings due to ambiguity across regions? Range might also be a consideration however or something to support content descriptions.)
(If both birthDate and ageGroup exist then software reading them may prefer birthDate)

Describe alternatives you've considered

  • Could also be named "age", "ageClassification", "ageRating" or "ageAccess" if we only want age and -1 (for adult) in there.
  • Potential future other software than systemd for taking part in age verification?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions