Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API SDK: Have a way to create a group using the members of other groups #632

Open
vplasencia opened this issue Dec 12, 2024 · 0 comments
Open
Assignees
Labels
feature 🚀 This is enhancing something existing or creating something new

Comments

@vplasencia
Copy link
Member

Description

It would be nice to combine groups, create new groups that are unions of existing groups.

Like group 1 and 2 would already have members.

There would be eg a new function: createGroupFrom({name, desc, fingetPrint, depth}, groupId[], apiKey) that probably just needs to call existing methods of the sdk: createGroup, then loop over the groupIds to do getGroup and addMembersByApiKey

This would construct a group that is already full of the members of group 1 and 2. And therefore the new group benefits immediately from the anonymity sets of the 2 others.

proposed by @sripwoud

@vplasencia vplasencia added the feature 🚀 This is enhancing something existing or creating something new label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 This is enhancing something existing or creating something new
Projects
None yet
Development

No branches or pull requests

2 participants