Open CSDUMMI opened 3 years ago
In order to implement dynamic access roles, that can change through changes to the database, that the access controller is supposed to control, I have to be able to access the database from the Access Controller.
I saw in the orbit-db-access-controller.js file, that there is a _db field, that is just set to null though.
_db
null
Is this._orbitdb available?
this._orbitdb
https://github.com/tallylab/tallylab-orbitdb-access-controller/blob/master/src/tallylab-access-controller.js#L183
Yes. But how does this._orbitdb help me in this situation?
In order to implement dynamic access roles, that can change through changes to the database, that the access controller is supposed to control, I have to be able to access the database from the Access Controller.
I saw in the orbit-db-access-controller.js file, that there is a
_db
field, that is just set tonull
though.