-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: update group permissions #622
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments. Not sure I like or completely agree with moving multiple functionalities under a single permission here (eg changing/updating name, images, etc).
was talking to hugo about that. and we decided for name, description, icon and banner we would use one permission |
Not sure if it should be that narrow imho |
Can you correct the test? |
What this PR does 📖
Renamed SetGroupName to EditGroupInfo
Added RemoveParticipants permission. If someone has this they can remove a user from a group
EditGroupInfo now allows: Renaming group name + description, changing group icon and banner
Changed no permission error from PublicKeyInvalid to Unauthorized
Updates the tests which only used direct conversation instead of group