> APIv2 is not vaporware... APIv2 is not ready either.
What is the time frame on APIv2 ?
Off-topic, from skimming the PR I would suggest considering hawk for
authentication and perhaps using JSON schemas for validating and
documenting input and output.
APIv2 solves the privacy issue by respecting the privacy settings per
> user for all API keys. Thus if a user chooses not to share groups, there
> will be no group exposure. There is no need to alter group setting to
> achieve that.
Privacy settings per user is great, but can also very crippling.
Choosing whether or not to share t-shirt size, etc... is perfectly
reasonable.
But if a user chooses not to share group memberships, then the use-case
breaks.
*Imagine the following scenario:*
1) User signs up for mozillians and sets very restrictive privacy settings
(a few years passes)
2) User joins a curated group *taskcluster-users*
3) User authenticates against taskcluster with persona
4) taskcluster looks up email on mozillians to validate membership of the
*taskcluster-users* group
5)
mozillians.org returns "false" (or says it can't answer because of
privacy settings)
6) taskcluster tells your his group membership could be verified
(authentication failed)
7) User reports bug against taskcluster, that nobody else can reproduce...
and we loose a potential contributor.
Let's try to avoid unfortunate corner cases like this. Most "properties"
using mozillians for authentication won't care to implement rare corner
cases. And even then users (me included) rarely read the details of an
"authentication failed message" :)
If the API should have the option to refuse answering group memberships,
that option should be configured by the group curator as a setting on the
group. And then people can choose to join or not.
Slightly off-topic, but I think we should be careful with offering too many
privacy settings. They sure makes sense for somethings. But if you join a
community directory (phonebook) it makes limited sense to hide your email.
Too many settings is also confusing for users (facebook used to be
criticized for being confusing/complicated).
And too many privacy settings makes the resource (in this case community
phonebook) a lot less useful.
Anyways, just something to keep in mind.
--
Regards Jonas Finnemann Jensen.