{% extends 'psu_base.html' %} {% load base_taglib %} {%block title%}{{ configs.APP_NAME }} - Status Page{%endblock%} {% block pagecontent %} {%set_auth_object%} {%set_current_user%}
Site Name/Code:
URL:
{{ configs.APP_NAME }} ({{ configs.APP_CODE }})
{%absolute_url%}
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: {%if 'finti' in issues%}{%fa fa-exclamation-triangle%}{%endif%} {{ finti }}
{%if configs.FINTI_SIMULATE_CALLS or configs.FINTI_SAVE_RESPONSES%}
{%fa fa-exclamation-triangle%} {%if configs.FINTI_SIMULATE_CALLS or configs.FINTI_SIMULATE_WHEN_POSSIBLE%} Using Simulated Finti Calls {%if configs.FINTI_SIMULATE_WHEN_POSSIBLE%} When Possible{%endif%} {%elif configs.FINTI_SAVE_RESPONSES%} Caching Finti Responses {%endif%}
{%endif%}
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%}
{{ configs.APP_NAME }} Authorities:
    {%for aa in current_user.authorities%}
  • {{aa}}
  • {% empty %}
  • None
  • {%endfor%}
Global Authorities:
    {%for aa in current_user.global_authorities%}
  • {{aa}}
  • {% empty %}
  • No Global Authorities
  • {%endfor%}
{%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:

For some reason, psu-base template tags with authentication conditions don't work in AWS when not in debug mode. This became apparent when authentication checks in the code base did not agree with the same checks made in template-tags. Template tags have been deprecated and replaced by context variables. This check should highlight the issue if it also occurs with context variables.

From View From Template-Tag From Context
if_logged_in {{view_auth.if_logged_in}} Deprecated {{logged_in}}
if_can_impersonate {{view_auth.if_can_impersonate}} Deprecated {{can_impersonate}}
if_impersonating {{view_auth.if_impersonating}} Deprecated {{is_impersonating}}
if_has_authority_developer {{view_auth.if_has_authority_developer}} Deprecated {{is_developer}}
{% endblock %}