tse-lao / hackathon-fvm

DataBridge
https://hackathon-fvm-fj45.vercel.app
2 stars 2 forks source link

Private group files redirect page #19

Open nijoe1 opened 1 year ago

nijoe1 commented 1 year ago

When someone wants to see the group file and clicks on that file we need to redirect to a different link instead of file/CID to redirect to a page private_file/CID page so that we can distinguish the views of a file and a group file

tse-lao commented 1 year ago

Why do we want this to happen? Seems like an unnecessary thing to add, we need to add some kind of traceability of the file, who it is shared with.

nijoe1 commented 1 year ago

bc if the page is handling the file us any other file we don't know how to display the information of this file "That is from a private group". Another solution is to just make an abstraction into that page and pass if the redirect to that page is from a private group.