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

Add endpoint to accept an accessor invitation #197

Closed
cdriehuys opened this issue Oct 6, 2017 · 1 comment
Closed

Add endpoint to accept an accessor invitation #197

cdriehuys opened this issue Oct 6, 2017 · 1 comment

Comments

@cdriehuys
Copy link
Member

Feature Proposal

We need an endpoint for users to accept a KMUserAccessor instance that was sent to them. They should be able to accept the invitation by sending a POST request to /know-me/accessors/<id>/accept/.

@cdriehuys
Copy link
Member Author

It makes more sense to have the user send a PATCH request to the existing /know-me/accessors/<id>/ endpoint with the following data:

{
    "accepted": true
}

@cdriehuys cdriehuys self-assigned this Oct 21, 2017
cdriehuys added a commit that referenced this issue Oct 22, 2017
Users granted access by an accessor can now mark that accessor as
'accepted'.

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

No branches or pull requests

1 participant