stakwork / sphinx-relay

Node.js wrapper for communication between sphinx client and lightning node.
MIT License
250 stars 70 forks source link

Relay graph subscription table #535

Open soup20 opened 1 year ago

soup20 commented 1 year ago

Work to be done on Relay.

Context:

Building the structure for private company knowledge graphs.

Goal:

Create a table of graph subscriptions in relay that will store all the knowledge graphs a company is subscribed to (has permission to access), plus some info about each graph.

Details:

We need the following columns:

*Subscriptions table needs to know which LSAT to present.

tobi-bams commented 1 year ago

Time estimation: 1 day but this is after we've gotten the model specification correctly with all necessary permissions needed. @soup20

tobi-bams commented 1 year ago

Thinking about this again and I am suggesting we have subscriptions linked to tribes since users would mostly visit knowledge graphs through tribes.

Based on the subscription linked to a tribe, I would know the particular graph a user is allowed to search from per tribe

tobi-bams commented 1 year ago

@soup20, please what do you mean by host name???

soup20 commented 1 year ago

@tobi-bams That is a 'nice to have', since there is a question mark next to it. Do we have some kind of id about the host of the graph that we can use? Like maybe the company name. If we don't have anything to use here, don't worry about it.

tobi-bams commented 1 year ago

@soup20 for now we don't have provisions for that, but we could always add this later

tobi-bams commented 1 year ago

Status: Created a PR already (Done)

kevkevinpal commented 1 year ago

@tobi-bams is this feature finished can you link the PR's for this?

tobi-bams commented 1 year ago

@kevkevinpal, this is not the actual PR, the actual PR has been closed but this PR extends the other PR.