autonomys / auto-drive

Auto Drive is a decentralized content-addressed storage solution built on the Autonomys Network, leveraging its underlying permanent storage layer known as the Autonomys Distributed Storage Network (DSN).
1 stars 1 forks source link

[Front/Back] Shareable objects #27

Open clostao opened 3 weeks ago

clostao commented 2 weeks ago

@its-colby how a user shares an object with other? Should it be a list of all the users and select from there? The email may identify to several accounts: (google and discord account)

clostao commented 2 weeks ago

I think the best solution would be a soft handle system. Every time a new user signs up the user has to setup their handle which can be shared just as instagram one, that is updatable

its-colby commented 2 weeks ago

I will assume the term "object" means "files and folders".

POC I see that you have tagged this issue as "POC". I believe, for the POC, we should only implement the following. Provide an option on the frontend to copy a link to a file or folder. Then, they can share this link with others. When the link is opened, it takes them to the relevant file or folder.

Every file and folder will be in plaintext on the POC and there will be no editing/creation IPNS names. Thus, technically, owners have no special permissions. So, "sharing", in terms of "sharing permissions", doesn't mean much.

MVP For the MVP, we will likely not add sharing capabilities either. I don't imagine that sharing editing permissions will be something desired by our future partners. Nonetheless, we will have to wait and see after we talk to them.

If we did decide to have "sharing" in our MVP, I think it will likely work with the following UX. User A uses a messaging application to ask his friend for his handle. User B sends the handle (copy-pasted from profile window of Auto Drive frontend). User A uses Auto Drive frontend to share the relevant file/folder.

What will be this "handle"? I don't think it should be something users create. I think it should be the ID users receive within the OIDC system after completing registration.

clostao commented 1 week ago

Pending to change the user-specified handle by a random id

its-colby commented 4 days ago

Pending to change the user-specified handle by a random id

Not sure I understand what you mean here. Do you mean, you plan to change the user-specified handle "to" (not "by") a random id?

clostao commented 4 days ago

No, I mean that the current handle (user identificator) is setup by the user but you previously told me to update for an automatically created ID

What will be this "handle"? I don't think it should be something users create. I think it should be the ID users receive within the OIDC system after completing registration.

its-colby commented 4 days ago

Understood