radiks icon indicating copy to clipboard operation
radiks copied to clipboard

What is the best way to fetch GroupInvitations?

Open xanderjakeq opened this issue 5 years ago • 3 comments

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 https://github.com/blockstack/radiks/issues/45#issuecomment-585306195

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

xanderjakeq avatar Feb 25 '20 21:02 xanderjakeq

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

friedger avatar Feb 25 '20 21:02 friedger

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

xanderjakeq avatar Feb 26 '20 03:02 xanderjakeq

@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.

friedger avatar Mar 10 '20 09:03 friedger