{% extends 'psu_base.html' %} {% load base_taglib %} Title {% block pagecontent %} {%set_auth_object%} {%set_current_user%}
Site Name/Code: {{ configs.APP_NAME }} ({{ configs.APP_CODE }})
Site Version: {{ configs.APP_VERSION }}
Server Time: Timestamp: {{ server_time.timestamp }}
Like Banner: {{ server_time.banner_date_time }}
Environment: {{ configs.ENVIRONMENT }}
Debug Mode: {{ configs.DEBUG }}
CAS (SSO): {%if 'cas' in issues%}{%fa fa-exclamation-triangle%}{%endif%} {{ cas }}
Finti URL: {%if 'finti' in issues%}{%fa fa-exclamation-triangle%}{%endif%} {{ finti }}
SSO Proxy: HTTP Status: {{ sso_proxy.status }}
Version: {{ sso_proxy.version }}
Database: {%if sid%} {%if 'sid' in issues%}{%fa fa-exclamation-triangle%}{%endif%} {{ sid }} Note: This is the database used by the "SSO-Proxy" API. It is not necessarily the database in use for this app.
{%else%} {%if 'sid_message' in issues%}{%fa fa-exclamation-triangle%}{%endif%} {{ sid_message }} {%endif%}
Static Content URL: {%static_content_url%}
Session Duration: {{session_data.expiry_seconds}} seconds
{{session_data.expiry_description}} of inactivity
Identity: {%if request.user.is_authenticated and auth_object.is_logged_in%} {%id_tag current_user%} {%elif request.user.is_authenticated%} Logged in, but no Banner identity.
{{request.session.attributes}} {%else%} Not logged in. {%endif%}
PSU Plugins: The following PSU re-usable apps have been installed:
    {%for pp in installed_plugins%}
  • {{pp}}
  • {%endfor%}
Browser: {{browser}}

TemplateTag Issue:

Issues with Finti's certificate can create a situation where data obtained from Finti via a template-tag will be different than the same data obtained from a view. This became apparent when authentication checks in the code base did not agree with the same checks made in template-tags. This check should highlight the issue, should it occur again:

From View From Template-Tag
if_logged_in {{view_auth.if_logged_in}} {%if_logged_in%}True{%end_if_logged_in%} {%if_not_logged_in%}False{%end_if_not_logged_in%}
if_can_impersonate {{view_auth.if_can_impersonate}} {%if_can_impersonate%}True{%end_if_can_impersonate%} {%if_can_not_impersonate%}False{%end_if_can_not_impersonate%}
if_impersonating {{view_auth.if_impersonating}} {%if_impersonating%}True{%end_if_impersonating%} {%if_not_impersonating%}False{%end_if_not_impersonating%}
if_has_authority_developer {{view_auth.if_has_authority_developer}} {%if_has_authority developer%}True{%end_if_has_authority%} {%if_not_has_authority developer%}False{%end_if_not_has_authority%}
{% endblock %}