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

Accept owner invites #1073

Merged
merged 16 commits into from
Sep 25, 2017
Merged

Conversation

natboehm
Copy link
Contributor

This implements deployable chunk 2, accepting invitations of issue #924. I created a new route, /me/crate_invitations/:crate_id where a PUT request is submitted to. The request body contains the invitation information along with a boolean field accepted, indicating whether or not the invitation was accepted. This same route can then also be used for the decline route, a matter of toggling the accepted field. When an invitation is accepted, the user should receive a message where the invitation used to be acknowledging the successful addition. If an error occurs, a message should also appear indicating so.

@natboehm natboehm force-pushed the accept-owner-invites branch from 4dec984 to b64c808 Compare September 25, 2017 15:35
@carols10cents
Copy link
Member

bors: r+

bors-voyager bot added a commit that referenced this pull request Sep 25, 2017
1073: Accept owner invites r=carols10cents

This implements deployable chunk 2, accepting invitations of issue #924. I created a new route, `/me/crate_invitations/:crate_id` where a `PUT` request is submitted to. The request body contains the invitation information along with a boolean field `accepted`, indicating whether or not the invitation was accepted. This same route can then also be used for the decline route, a matter of toggling the `accepted` field. When an invitation is accepted, the user should receive a message where the invitation used to be acknowledging the successful addition. If an error occurs, a message should also appear indicating so.
@bors-voyager
Copy link
Contributor

bors-voyager bot commented Sep 25, 2017

Build succeeded

@bors-voyager bors-voyager bot merged commit b64c808 into rust-lang:master Sep 25, 2017
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.

2 participants