Orbit-db: I cant able to create write access with public

Created on 6 Mar 2019  路  1Comment  路  Source: orbitdb/orbit-db

const access = {
write : ['*'],
}
const db = await orbitNode._orbitdb.keyvalue('UsersCredentials',access)

Is the Structure correct ?

I Could not able to able to add entry to this. This Another peer which using Address of the db above created.
Could not append entry, key "04d29d042e28b3ab201eb453486ca280dd80a157b806e5826a15d71fe3147b1fba059399d2c6e339c646afcfea42fd81a18fa73231bd6ecc8e75cd4947ead8b897" is not allowed to write to the log

Most helpful comment

Ah, you need to wrap that in an accessController key:

{
  accessController: {
    write: ['*'] // Allow anyone to write to the channel
  }
}

>All comments

Ah, you need to wrap that in an accessController key:

{
  accessController: {
    write: ['*'] // Allow anyone to write to the channel
  }
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

daviddias picture daviddias  路  6Comments

BartKnucle picture BartKnucle  路  4Comments

oed picture oed  路  5Comments

adamski picture adamski  路  5Comments

crazyrabbitLTC picture crazyrabbitLTC  路  6Comments