Skip to content
Snippets Groups Projects
Commit 27f870d0 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Removed 'Alpha' from the GraceDB homepage. Also added service provider privacy...

Removed 'Alpha' from the GraceDB homepage. Also added service provider privacy and info pages, which are required for federation with InCommon.
parent 12a11dc6
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,13 @@ def index(request):
{},
context_instance=RequestContext(request))
# SP Info and Privacy pages are required for Federation with InCommon.
def spinfo(request):
return render_to_response('gracedb/spinfo.html', {}, context_instance=RequestContext(request))
def spprivacy(request):
return render_to_response('gracedb/spprivacy.html', {}, context_instance=RequestContext(request))
def skyalert_authorized(request):
try:
return u"{0} {1}".format(request.user.first_name, request.user.last_name) in settings.SKYALERT_SUBMITTERS
......
{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block heading %}GraceDB <em>Alpha</em> &mdash; Overview{% endblock %}
{% block heading %}GraceDB &mdash; Overview{% endblock %}
{% block pageid %}home{% endblock %}
{% block content %}
......
{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block heading %}GraceDB &mdash; Service Provider Information{% endblock %}
{% block pageid %}SPInfo{% endblock %}
{% block content %}
<div class="text">
<p>
GraceDB organizes candidate events from gravitational-wave searches and provides an
environment to record information about follow-ups.
</p>
</div>
{% endblock %}
{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block heading %}GraceDB &mdash; Service Provider Privacy{% endblock %}
{% block pageid %}SPPrivacy{% endblock %}
{% block content %}
<div class="text">
<p>
This service provider receives an identifier for you
known as an eduPersonPrincipalName (or eppn) from your login provider.
Within GraceDB, this eppn functions as your username. If you are outside the
LIGO/Virgo community, the eppn is also used to look you up in the
<a href="https://gw-astronomy.org">Gravitational Wave Astronomy Community Registry</a>
to find your
group membership information (which determines read and edit permissions).
None of this information about you is shared with any service or tools outside
of those supporting collaboration across the gravitational wave astronomy
community.
</p>
</div>
{% endblock %}
......@@ -17,6 +17,8 @@ feeds = {
urlpatterns = patterns('',
url (r'^$', 'gracedb.views.index', name="home"),
url (r'^SPInfo/', 'gracedb.views.spinfo', name="spinfo"),
url (r'^SPPrivacy/', 'gracedb.views.spprivacy', name="spprivacy"),
(r'^events/', include('gracedb.urls')),
(r'^api/', include('gracedb.urls_rest', app_name="api", namespace="x509")),
(r'^apiweb/', include('gracedb.urls_rest', app_name="api", namespace="shib")),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment