Domesday: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 131: Line 131:
| Public
| Public
| name by which they prefer to be addressed
| name by which they prefer to be addressed
| [new - not displayName]
| [new - or xmozillanickname??]
|-
|-



Revision as of 17:40, 28 January 2011

Domesday* is the name of the software which will run a Mozilla Contributor Directory.

Definitions

For some reason, there is some terminological confusion which is clouding debate.

  • Public: visible to the entire world
  • All Users: visible to anyone with an account
  • Trusted: visible to people who have been given the the "trusted" tag
  • Approved: don't use this word, it's confusing

Purpose

We aim to build a website where Mozilla contributors can create a simple profile that includes their basic contact information and references to their identities in other systems. In this way, it will associate someone's identity in Bugzilla, Hg, IRC, etc., allowing people who know one to find out the others, and also provide community members with a bit of (opt-in) biographical information about the person they are interacting with.

In addition, it will allow people in the same geographical area to connect up for local events. We also hope, through the 'trusted' mechanism (see below) to dissolve barriers between paid and unpaid contributors to Mozilla.

The software will be open source, so other groups can pick it up to build their own Domesday servers.

Anti-Purpose

There are some things we are explicitly not doing as part of this project:

  • Building an extranet
  • Building an 'identity server' or single signon server
  • Building an OpenID provider
  • Building an authorization system

Data from the system may later help in the construction of one or more of the above, but this is not any of them.

Features

Privacy is a first-class UI design principle in Domesday. One function of the software will be to demonstrate that it's possible to do software which holds personal information in a way which allows all users easy control of the privacy of each individual data item, without overwhelming UI complexity. We want to show the Facebooks of this world how to do it right :-)

There is a UI mockup of one way we could do this.

  • Minimum possible set - do one thing well
  • Individual profiles
  • Profile management - creation, deletion
  • Search (by any identifier)
  • Tagging
  • Configure the privacy level of each item of information

The key way of interacting with Domesday will be via its API - it is expected that most information it serves will be consumed via "plugins" for other apps - mail clients, Bugzilla, IRC clients, SCM web interfaces, etc.

Who's In?

Anyone can create an account (but see 'Trustedness', below).

If people in the Directory slow or cease their involvement with Mozilla their profiles will not be automatically removed, but rather flagged as "inactive".

Use Cases

An initial (and likely incomplete) list of possible use cases for this system:

  • Answer the question "who is that?" in various Mozilla project systems.
  • Identify a community member by searching for their first name and scanning through photos in the search results.
  • Compile a list of people to invite to a Mozilla Leadership Summit (all currently-active trusted contributors who are team/project leaders or above).
  • Find everyone working on SUMO.
  • Find all our contributors who live within 50km of Ottawa, Canada.
  • Generate a world map of all our contributors.

User Tasks

  • Accept invitation
  • Log in/out
  • Create profile
  • Edit profile
  • Delete profile
  • Reset password

Administrator Tasks

Everything a User does plus...

  • Delete profile (at user request only)

Trustedness

The directory has the concept of a "trusted" person. We want to make it easy for new community members to get accounts on the directory with minimal hassle, but we also want to make people feel that they can share info like phone numbers and email addresses without significant risk that they will be misused. We also want to avoid the "Employees" category being the default for sharing such information, because it puts a split into the community.

Instead, we have the concept of "trustedness" - a binary flag on a profile (although implemented as a tag). The way it gets enabled remains to be seen, but it happens when enough people in the community have worked with you to have a good feeling about letting you know their personal data, and Mozilla trusts you e.g. to not reveal sensitive discussions. (Trustedness may one day become, for example, the basis for access to a set of non-public discussion forums.)

The hope would be that Mozillians would choose to share things like "address" and "phone number" and other personal details with the "Trusted" group.

Data + Privacy

The directory will be publicly searchable and viewable, but with fine-grained privacy controls so users can control who gets to see what information in their profile. Given that the purpose of the directory is to disseminate information, the key thing here is not to keep everything as private as possible by default, but to set expectations and meet them. The privacy system must be clear.

Each field will have an attached privacy value, so a user can specify who can or cannot see what information. Privacy control options will be:

  • Public (the whole world)
  • All Users (everybody in the Directory)
  • Trusted Users (see above)
  • Contributor Community Team (people who organize summits and send t-shirts)
  • Private (nobody)

We want to make sure the site meets people's privacy expectations. So the default privacy for each field depends on who could work it out if the directory didn't exist. So Name and Photo would default to Public, IDs on various services like Bugzilla and Hg would default to "All Mozillians", but "Address" would default to Community Team (a small set of people who need to send out physical objects).

In terms of UI, it could be that the editing screen presents fields in different coloured sections, corresponding to different levels of privacy. If the user wants to change the privacy of a data point, they have to physically move it from one section to another. There is a UI mockup of this idea.

Deleting Profiles

Users should be able to delete their profile completely at any time, with all data being completely removed and no longer available via any interface to anyone, including admins. For practical reasons, copies will remain as part of normal archived backups of the system.

Data Fields

Current suggestions for initial fields are as follows. Only given name, one email address and password are compulsory.

(NOTE: Much of this is Mozilla-specific, so this stuff must be easily changed/customized so other projects can use this code to create their own Directories.)

Field Default Privacy Description LDAP Attribute (if LDAP is used)
Given Name Public given name givenName
Family Name Public family name sn (also cn and displayName, containing both)
Call Me Public name by which they prefer to be addressed [new - or xmozillanickname??]
Mozilla IRC Nick Public [account objectClass]
Tags (see below) Public [groupOfNames objectClasses]
Bio Public limited to 1024 chars or so description
Photo Public strongly encouraged, but not required jpegPhoto
Start Year All Users Year they started working on Mozilla stuff [new]
System IDs All Users system:id pairs for e.g. Bugzilla, version control, IM, social networks, 140-character status sites [account objectClasses]
Website All Users Website labeledURI - 'website'
Blog All Users Blog URL labeledURI - 'blog'
Job Title All Users just for fun title
Email Address(es) All Users mail
City All Users name as text; also located on a map and stored as a rough lat-long l
Country All Users c (not in inetOrgPerson)
Phone Number(s) Trusted Users telephoneNumber and/or mobile
T-shirt Size Contributor Community Team (Men’s/Women’s :: XS/S/M/L/XL/XXL/XXXL + link to size chart) [new]
Street Address Contributor Community Team if we were to send you a t-shirt, where should it go? postalAddress and postalCode

Tagging

The tags system will be in two parts - public and personal. Public tags are those on you that anyone can see and edit (but see below); personal tags are those you add to other people that are not visible by default. However, anyone who knows who you are and the name of the tag can see the list of people to whom it is added.

So personal tags are for pulling together set of people like "fosdem-invitees". One Mozillian may be making the list, but anyone else can see it by querying on domain.com/search?tag=fosdem-invitees&tag_owner=foo@bar.com

In general, we expect people to maintain their own public tags, but we make it so anyone can edit them because in some cases, keeping data sets current will be much easier if the person caring about the data can fix things rather than contacting everyone concerned. Some tags will have restrictions on who can add/remove them, to make sure particular data sets remain correct. Uses cases for this include "driver", "trusted", "reviewer" or "mozpaid".

Tags may also be in name:value format, in which case restrictions are defined on the name. (This allows us to have tags like 'module-owner:Places', but have the appointment of module owners restricted to a certain set of people without having to enumerate all the possible modules.)

Schedule

The aim is to have something up and accepting registrations by the end of Q1 2011.

Implementation

  • Python and Django, because that's what webdev are most familiar with and I want to be able to ask for their help :-)
  • Profile and search outputs (via templates) as HTML (with HCard), JSON (perhaps using PortableContacts schema), VCard, XRD (for WebFinger)
  • LDAP vs. SQL - tricky. A directory back end means that perhaps it could one day run on top of Mozilla's LDAP authorization infrastructure, using the same database. But I know SQL much better. To be investigated.
    • The Mozilla LDAP also contains lots of sensitive corporate IT details that might be best to keep isolated from a public directory, for what it's worth
  • I plan to rip the HTML UI off from the current intranet Phonebook.
  • Making it actually happen is more important than the use of any one particular technology.

Resources

  • Gerv :-) I'll be writing the code.
  • Contributor Engagement are very interested in the project, and are offering help.
  • L10n are interested in the project, and can offer help.
  • David Boswell has offered to help.
  • Design Needs
    • We'll need someone to help design form pages, maybe just the main profile page that allows you to adjust your privacy settings as seen in the Privacy UI Demo.
    • We'll also want to create a template to use for the site (the current phone book doesn't really have a template to borrow). We may be able to reuse the existing mozilla.org template and design needs may be minimal for this. For example, something like this:

Mozillians.png

References


* - OK, so this is about the sixth name this project has had. But what does it mean to write a piece of software if you don't get naming rights? :-)