I see.   I was trying to advocate for placing a override hook for the case where another user who is using the ansible configurations (and therefore lms/envs/aws.py) wanted to use CAS.


On Jul 18, 2013, at 1:03 PM, ichuang <notifications@github.com> wrote:

> In lms/envs/common.py:
> 
> > @@ -786,3 +787,14 @@ def enable_theme(theme_name):
> >      STATICFILES_DIRS.append((u'themes/%s' % theme_name,
> >                               theme_root / 'static'))
> >  
> > +######################## CAS authentication ###########################
> > +
> > +if MITX_FEATURES.get('AUTH_USE_CAS'):
> > +    CAS_SERVER_URL = 'https://provide_your_cas_url_here'
> We use a separate config file, which imports common, and overrides all these settings. The envs.aws file does similarly. So in fact the if clause in this code never gets executed. It's there just as an example of the settings which could be overridden, and which are available to be set.
> 
> —
> Reply to this email directly or view it on GitHub.
>