Admins and Readers

Each database contains lists of admins and readers. Admins and readers are each defined by names and roles, which are lists of strings. For example, if the readers is defined by names ["jane", "mike"] and roles ["bbq"] then anyone with a "bbq" role can read the database. Yummy!

Admins

Database admins can update design documents and edit the readers list.

Readers

Database readers can access the database. If no readers are defined, the database is public. When readers are defined, only they may read or write to the database.