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

terms and conditions agreement #1579

Open
loomis opened this issue Jun 21, 2018 · 0 comments
Open

terms and conditions agreement #1579

loomis opened this issue Jun 21, 2018 · 0 comments

Comments

@loomis
Copy link
Contributor

loomis commented Jun 21, 2018

To manage the terms and conditions agreement process, implement the following:

  • Add a boolean field ("agreed"?) to the user resource.
  • Add the same boolean field to the user template resources to require agreement when registering.
  • Create a callback that allows a user to indicate agreement with the terms and conditions.

Any login attempt without this field being set will return a 401 response, location header to an agreement callback, and a message with a link to the terms and conditions.

As the UI uses the API, this will also work there. However, the response may need to be treated specially to have a reasonable browser workflow.

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