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

allow assigning role to organisation members #1018

Merged
merged 2 commits into from
Jul 13, 2021
Merged

Conversation

luceos
Copy link
Contributor

@luceos luceos commented Jul 5, 2021

This PR allows you to assign the admin role to new members of the organisation.

Ref: https://docs.github.com/en/rest/reference/orgs#set-organization-membership-for-a-user

lib/Github/Api/Organization/Members.php Outdated Show resolved Hide resolved
@luceos luceos requested a review from acrobat July 13, 2021 15:25
@acrobat acrobat merged commit c593113 into KnpLabs:master Jul 13, 2021
@acrobat
Copy link
Collaborator

acrobat commented Jul 13, 2021

Thanks @luceos! And congrats on your first contribution! 🎉

@luceos
Copy link
Contributor Author

luceos commented Jul 13, 2021

Thanks Jeroen. I needed the functionality, so I'm glad I could contribute.

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