3box-js icon indicating copy to clipboard operation
3box-js copied to clipboard

Data that multiple users share

Open filips123 opened this issue 6 years ago • 6 comments

Is it possible to make data that will multiple users of dapp share? I mean something like access control. So the user who originally created data can give other users permission to modify that specific data of view them if there are private.

This would be useful when developing some website or blog functionality (which I'm currently doing). So original creator of the website can give other permission to write or modify posts to other users.

In this case (website), it may be even better to have data that are even not bound to any users. So they will reside in a specific "profile" that would be made just for the website and original user would have write permission for them.

filips123 avatar Jan 28 '19 20:01 filips123

Hey, good question @filips123! Totally agree that this is a super useful feature. Unfortunately we do not support this right now, but it's something that we are actively looking to enable. The main thing holding this back right now is that we are waiting for the next release of orbitdb, which is the database library that we are using. It's next versions will support dynamic access control.

oed avatar Jan 29 '19 14:01 oed

@oed When is this supposed to happen?

filips123 avatar Jan 29 '19 17:01 filips123

I'm not really sure about the timeline of orbitdb unfortunately. For us it's something that we want to have but it's not on our immediate roadmap. Sorry if that doesn't really answer your question.

oed avatar Jan 29 '19 19:01 oed

Dynamic access in OrbitDB is now in RC (orbitdb/orbit-db#406).

filips123 avatar Apr 16 '19 20:04 filips123

Yep, we will likely revisit this in the coming weeks or so 👍

oed avatar Apr 17 '19 06:04 oed

@oed Dynamic access should now already be released in stable OrbitDB. So you can now probably start implementing that?

filips123 avatar Oct 05 '19 20:10 filips123