CouchDB permissions update