Comment Re:Linux (Score 1) 164
How would I implement this?...
The birth date could be stored in a new field in
Then maybe a DBus service listening on the system bus that can be asked for the age bracket of a user. The existing systemd org.freedesktop.login1 service would match nicely.
It is too difficult to require the birth date to be entered on account creation. Instead allow the API to return that the information is missing.
To limit API usage to app stores, the DBus policies should be used. So this has to be configured on distro level.
The list of possible age brackets should be configurable, because not all countries/states will specify the same age brackets as Colorado.
Maybe we also need a mechanism that will ask the used if they allow an application to know something about their age that is not covered by the age brackets (e.g. "is at least 21" when the age bracket is "18 or older").