couchdb security doc
This commit is contained in:
parent
67e8490eac
commit
3679416322
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue