couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pulkit Singhal <pulkitsing...@gmail.com>
Subject JSON structure for security object
Date Thu, 07 Jun 2012 15:02:03 GMT
Has the JSON structure for security object changed in version 1.2.0 to use
the members key instead of readers key?

I ask because the Futon pop-up for the setting the security of a database,
changed its terminology from "readers" to "members" and I find myself
wondering if its a cosmetic change or something more.

I know that at least the current info on the CouchDB wiki doesn't show any
such change but it doesn't hurt to confirm :)
http://wiki.apache.org/couchdb/Security_Features_Overview#Authorization
{
  "admins" : {
     "names" : ["joe", "phil"],
     "roles" : ["boss"]
   },
   "readers" : {
     "names" : ["dave"],
     "roles" : ["producer", "consumer"]
   }
}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message