couchdb security doc

This commit is contained in:
Martin McKeaveney 2020-10-18 21:40:54 +01:00
parent 67e8490eac
commit 3679416322
1 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,17 @@ exports.create = async function(ctx) {
const { clientId } = await masterDb.get(appId)
const db = new CouchDB(instanceId)
await db.put({
_id: "_security",
admins: {
names: [],
roles: [],
},
members: {
names: [],
roles: [],
},
})
await db.put({
_id: "_design/database",
metadata: {