Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Security classification info is told instead of asked #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,21 @@
<div class="grid-row contact">

<div class="column-two-thirds">
<h3 class="heading-small">Step 3 of 5</h3>
<h3 class="heading-small">Step 3 of 4</h3>
</div>

<div class="column-two-thirds">
<h1 class="heading-large">Data security classification</h1>
<h1 class="heading-large">Your commitments - sensitive, personally identifiable or classified data</h1>

<p>Will you be using data which has a security classification?</p>
<p>In the alpha version of this service, only open data can be loaded into your government data science sandbox. In signing up for one, you must agree not to load any sensitive or personally identifiable data, or any data classified as OFFICIAL, SECRET or TOP SECRET.</p>

<form action="{% url 'register_data_security_classification' %}" method="post">
{% csrf_token %}
<div class="form-group">
<fieldset>
<h2 class="heading-medium">Terms of Use</h2>
<ol class="list list-bullet"><li>I understand my responsibilities under the <a href="https://www.gov.uk/government/publications/government-security-classifications"> Government Security Classifications Policy</a> and my organisation’s policies.</li>
<li>I will only use publicly available open data in the government data science sandbox and will take appropriate measures to ensure that other information is not used. I will <a href="mailto:[email protected] ">report </a> any unintended data being uploaded to the sandbox.</li>
<li>I will keep my login information safe and private.</li>

<legend>
<h1 class="heading-medium">Will you be using data which has a security classification?</h1>
<span class="error-message">
{{ form.data_security_classification.errors }}
</span>
</legend>
<p><a class="button" href="{% url 'register_data_ethics' %}">Continue</a></p>

{# TODO update version of govuk-elements CSS so that the radios are CIRCLES not SQUARES #}
<p>NB you can select one, but the tick is currently invisible! To be fixed...</p>
<div class="multiple-choice">
<input id="radio-1" type="radio" name="radio-group" value="no">
<label for="radio-1">No - it's open data</label>
</div>
<div class="multiple-choice">
<input id="radio-2" type="radio" name="radio-group" value="official">
<label for="radio-2">Yes - it's OFFICIAL</label>
</div>
<div class="multiple-choice">
<input id="radio-3" type="radio" name="radio-group" value="secret">
<label for="radio-3">Yes - it's SECRET or TOP SECRET</label>
</div>
<p class="form-block">or</p>
<div class="multiple-choice">
<input id="radio-4" type="radio" name="radio-group" value="skip">
<label for="radio-4">I don't know or haven't decided yet</label>
</div>

</fieldset>
</div>

<div class="form-group">
<input class="button" type="submit" value="Continue">
</div>
</form>
</div>

</div>
</main>
</div>

Expand Down
3 changes: 2 additions & 1 deletion sandboxmgt/app/templates/register/github_intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ <h3 class="heading-small">Step 1 of 4</h3>
<div class="column-two-thirds">
<h1 class="heading-large">Sign-in to GitHub</h1>

<p>To sign up for a government data science sandbox, you need to sign into your GitHub account so that we can authenticate you and so you can save the work you do.</p>
<p>To sign up for a government data science sandbox, you need to sign into your GitHub account so that we can authenticate you, and so you can and save the work you do.</p>

<p>You need to authorise us to have read only access to your email address, organisations and teams. Once you’ve done that, you’ll be taken to the next step.
</p>

Expand Down
1 change: 1 addition & 0 deletions sandboxmgt/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
url(r'^register/data-security-classification-advice$', views_register.data_security_classification_advice, name='register_data_security_classification_advice'),
url(r'^register/ethics$', views_register.ethics, name='register_ethics'),
url(r'^register/terms$', views_register.terms, name='register_terms'),
url(r'^register/data-ethics$', views_register.data_ethics, name='register_data_ethics'),
url(r'^register/agree-start$', views_register.agree_start, name='register_agree_start'),
url(r'^my-sandbox$', views.my_sandbox, name='my_sandbox'),
url(r'^admin$', views.admin, name='admin'),
Expand Down
4 changes: 4 additions & 0 deletions sandboxmgt/app/views_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ def terms(request):

return render(request, 'register/terms.html', {})

@login_required
def data_ethics(request):
return render(request, 'register/data_ethics.html', {})

@login_required
def agree_start(request):
return render(request, 'register/agree_start.html', {})
Expand Down