Skip to content

Conversation

@havetisyan
Copy link
Collaborator

@havetisyan havetisyan commented Aug 6, 2025

Description

we already have the check for the putMembership call where we do not allow the last member to be deleted from the admin role. however, we allowed the user to make putRole call for the admin role with no members and we now block that as well.

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

@havetisyan havetisyan merged commit 00eddeb into master Aug 6, 2025
8 checks passed
@havetisyan havetisyan deleted the put-role-admin branch August 6, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants