Skip to content

Juniper upgrade - Studio local login - #847

Merged
johnbaldwin merged 1 commit into
mainfrom
john/take2-studio-signin
Mar 17, 2021
Merged

Juniper upgrade - Studio local login#847
johnbaldwin merged 1 commit into
mainfrom
john/take2-studio-signin

Conversation

@johnbaldwin

Copy link
Copy Markdown

This commit adds Studio local login as an optional setting.
When settings.FEATURES['STUDIO_LOCAL_LOGIN'] == True then Studio logins do not redirect to login via the LMS. Instead they log in locally

If this setting is False or does not exit, then the default login scheme is used.

This commit adds the following:

  • A new feature to the CMS settings.FEATURES: STUDIO_LOCAL_LOGIN
  • Conditionally include CMS appsembler.urls to the CMS project level urls
  • Conditionall update login and logout settings in cms/envs/production.py to assign URL settings for Studio local login
  • Add URL dispatcher urls and login view and support code to CMS appsembler app

TODO: Add unit tests for the new appsembler modules

This commit adds Studio local login as an optional setting.
When `settings.FEATURES['STUDIO_LOCAL_LOGIN'] == True` then Studio
logins do not redirect to login via the LMS. Instead they log in locally

If this setting is `False` or does not exit, then the default login
scheme is used.

This commit adds the following:

- A new feature to the CMS settings.FEATURES: `STUDIO_LOCAL_LOGIN`
- Conditionally include CMS `appsembler.urls` to the CMS project level
urls
- Conditionall update login and logout settings in
`cms/envs/production.py` to assign URL settings for Studio local login
- Add URL dispatcher urls and login view and support code to CMS `appsembler` app

TODO: Add unit tests for the new `appsembler` modules
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.007%) to 40.144% when pulling 9beb035 on john/take2-studio-signin into 09601e1 on main.

@OmarIthawi OmarIthawi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @johnbaldwin. Please add tests and this should be ready to go!

@OmarIthawi OmarIthawi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge it and add tests later. Thanks for the reminder @johnbaldwin.

@johnbaldwin
johnbaldwin merged commit b96a71e into main Mar 17, 2021
@johnbaldwin
johnbaldwin deleted the john/take2-studio-signin branch March 17, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants