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

Adds custom policy type, fixes invalid policy error #431

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

cameronvoell
Copy link
Contributor

@cameronvoell cameronvoell commented Jun 25, 2024

Related to xmtp/libxmtp#867

image

@cameronvoell cameronvoell requested review from humanagent and a team as code owners June 25, 2024 18:13
@cameronvoell cameronvoell changed the base branch from main to beta June 25, 2024 18:13
@cameronvoell
Copy link
Contributor Author

@alexrisch this pr should fix the invalid policy errors (tested by updating from old version and adding a new metadata field). Also "all members" now has remove member function as admin only.

Existing groups before this update will now return "custom_policy" as their policy type since they have a remove member permission that is "allow" for all members.

@cameronvoell cameronvoell force-pushed the cv/invalid-permission-refactor-errors branch from 95a33d7 to 74ddcf1 Compare June 25, 2024 18:17
@cameronvoell cameronvoell merged commit 86652bc into beta Jun 25, 2024
5 of 6 checks passed
@cameronvoell cameronvoell deleted the cv/invalid-permission-refactor-errors branch June 25, 2024 18:30
Copy link
Contributor

🎉 This PR is included in version 1.34.0-beta.17 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants