From 9a55389a231192c88b6c98c36704edf86dec62c7 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Thu, 23 May 2024 18:13:50 -0500 Subject: [PATCH 1/2] docs(auth): LDAP not supported sans Portal --- taccsite_cms/_settings/auth.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/taccsite_cms/_settings/auth.py b/taccsite_cms/_settings/auth.py index 6494ce763..11fadfc7b 100644 --- a/taccsite_cms/_settings/auth.py +++ b/taccsite_cms/_settings/auth.py @@ -8,6 +8,11 @@ # https://docs.djangoproject.com/en/2.2/ref/settings/#auth ######################## +# To enable LDAP: +# +# 0. Install the CMS as part of a full Portal. +# (like https://ecepalliance.org/ as of 2024-05) + # To disable LDAP: # # 0. Edit custom or local settings for CMS project. @@ -19,6 +24,8 @@ # RFE: Use INCLUDES_CORE_PORTAL to toggle '...CorePortalAuthBackend'. # Requires django-auth-ldap ≥ 2.0.0 +# TODO: Determine whether this is safe to delete. +# It seems to be cruft from when CMS was coupled to Portal. LDAP_ENABLED = True AUTHENTICATION_BACKENDS = [ From 6411a61715244ef65651b3e46401ab7c4ec9e616 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Thu, 23 May 2024 18:15:48 -0500 Subject: [PATCH 2/2] docs(auth): do not use vanity domain Because it is more likely to change than the TACC-dependent domain name. --- taccsite_cms/_settings/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taccsite_cms/_settings/auth.py b/taccsite_cms/_settings/auth.py index 11fadfc7b..8b7315629 100644 --- a/taccsite_cms/_settings/auth.py +++ b/taccsite_cms/_settings/auth.py @@ -11,7 +11,7 @@ # To enable LDAP: # # 0. Install the CMS as part of a full Portal. -# (like https://ecepalliance.org/ as of 2024-05) +# (like https://prod.ecep.tacc.utexas.edu/ as of 2024-05) # To disable LDAP: #