KenCloud-Tech / prolly-tree-oracle

Prolly Tree Oracle for IPLD Datasets
https://dataoracle.gitdata.ai
Apache License 2.0
2 stars 1 forks source link

Prolly-tree-Oracle Version 1 #2

Closed EdisionJ closed 5 months ago

EdisionJ commented 5 months ago

Completed the first version of Polly-tree-Oracle and implemented the Creat, AllowWrite, Get, Put, Index and Search interfaces

RangerMauve commented 5 months ago

Yeah I think it'd be easier for folks to use names instead of cids since the cid is constantly changing

RangerMauve commented 5 months ago

Regarding two people using the db name, I think the first person to register it can decide the access control and if another person tries to access it they need either the read or write permission

RangerMauve commented 5 months ago

This way we can make it easy for applications to reference shared databases

EdisionJ commented 5 months ago

That is to say, if two users register the same "dbName" successively, the owner of this database is the first user. When the second user registers, it is necessary to determine whether it has the permission to the database "dbName". If it has the permission, it means that they will share this database. If it does not have the permission, the registration will fail.

taoshengshi commented 5 months ago

Let us merge the V1 and kickoff the V2 @RangerMauve