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

Create 'Access Requires Fair Source Licence Acceptance' page in site project #1154

Closed
vkuznyetsov opened this issue Nov 15, 2016 · 9 comments

Comments

@vkuznyetsov
Copy link

vkuznyetsov commented Nov 15, 2016

This page needed for redirection if admin tries to log in before the Fair Source Licence have not been accepted by an admin.

When Codenvy is first installed:

  • In site ask the admin who logs in:

Title: Terms of Service
Field: First Name
Field: Last Name
Field: Email
Message area with scroll bar: To access the system you must accept the terms of service. {add the license text from https://codenvy.com/legal/fair-source/}
Buttons: Accept (default)

- Fields cannot be blank, email must be correctly formatted
- If they choose "Accept" the user's info will be added to the Audit log with the message "{first name} {last name} with email {email} accepted Fair Source license agreement on {date and time}."
If they choose "Accept" the user's info will be added to the Audit log with the message "{date and time} Fair Source license was accepted." (depends on https://github.com/codenvy/enterprise/issues/22, https://github.com/codenvy/enterprise/issues/23)

Only admin should have a permission to see this page.

Accept Fair Source License method API

POST /api/license/fair-source-license

_Response Messages_:
201   
409    Fair Source License has been already accepted
500    Server error
@vkuznyetsov vkuznyetsov self-assigned this Nov 15, 2016
@vkuznyetsov vkuznyetsov changed the title Create 'Access Requires TOS Acceptance' page in site project Create 'Access Requires Fair Source Licence Acceptance' page in site project Nov 24, 2016
@bmicklea
Copy link
Contributor

@vkuznyetsov When an admin hits "accept" on this page then they'd go to the normal login screen and be able to enter the product.

@vkuznyetsov
Copy link
Author

@bmicklea But admin already logged in before they click 'Accept' button.

@bmicklea
Copy link
Contributor

bmicklea commented Nov 25, 2016 via email

@vkuznyetsov
Copy link
Author

Are there any other buttons in form to reject/cancel licence agreement?

@slemeur
Copy link
Contributor

slemeur commented Nov 25, 2016

terms of service

mockup, requested by @vkuznyetsov

@bmicklea
Copy link
Contributor

bmicklea commented Nov 25, 2016 via email

@TylerJewell
Copy link
Contributor

-1 - no need for cancel button.

@bmicklea
Copy link
Contributor

bmicklea commented Nov 25, 2016 via email

@dmytro-ndp
Copy link
Contributor

@vkuznyetsov: this should be done for SaaS version of Codenvy as well.

@dmytro-ndp dmytro-ndp reopened this Dec 27, 2016
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

5 participants