Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

What is the best way to fetch GroupInvitations? #86

Open
xanderjakeq opened this issue Feb 25, 2020 · 3 comments
Open

What is the best way to fetch GroupInvitations? #86

xanderjakeq opened this issue Feb 25, 2020 · 3 comments

Comments

@xanderjakeq
Copy link

xanderjakeq commented Feb 25, 2020

I have met the same problem as well, my another question is how can i get my invitation from other people's userGroup

You could create a model that looks like this

{
 from: `username of admin`,
 to: `username of invitee`,
 id: `invitation id`
}

Then you could query the to field with your username.

Maybe?

Originally posted by @xanderjakeq in #45 (comment)

The above is my first thoughts. @friedger mentioned it is a privacy concern. So what the best way to find group invitations?

@friedger
Copy link
Collaborator

Usually you want to use private 3rd party communication channels...

The inbox idea could be a solution: https://forum.blockstack.org/t/proposal-gaia-hub-inboxes/5114

@xanderjakeq
Copy link
Author

Why is it a security issue in the first place? What can you do with knowing 2 names and an invitation id?

@friedger
Copy link
Collaborator

@xanderjakeq The relationship between the two users is published in the context of the app. The public does not need to know that one person is inviting another person. It is a private transaction. The library should keep it private.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants