Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: control linked account by settings (#675) #802

Conversation

johanseto
Copy link
Contributor

Description

Migration to palm

  • feat: control linked account by settings

This feature allows to control the tab linked_accounts in account settings to appear or not. Is controlled using SHOW_LINKED_ACCOUNTS

(cherry picked from commit 7d43718042414d4e736d1c225cb9008c363dfbd3) (cherry picked from commit 6fef8d1ca7efe1b87602a764a8cbe62c880f623b)

  • feat: PR improvements
  • doblequotes for dosctring
  • avoid jump of line if its not necessary

(cherry picked from commit ae27a15)

Testing instructions

Deactivate mfe account settings. This change is only for the base or classic account settings view. Mfe doesnt works.

Deactivate via the django waffle flag or using django site config or eox-tenant if you have it.
SHOW_LINKED_ACCOUNTS = False
https://github.com/eduNEXT/edunext-platform/blob/ednx-release/palma.master.nelp/openedx/core/djangoapps/user_api/accounts/toggles.py#L42

Check the linked account in the /account/settings/ view is not presented.

Before

before-linked

AFter

image

Please provide detailed step-by-step instructions for testing this change.

* feat: control linked account by settings

This feature allows to control the tab linked_accounts in account settings to appear or not.
Is controlled using `SHOW_LINKED_ACCOUNTS`

(cherry picked from commit 7d43718042414d4e736d1c225cb9008c363dfbd3)
(cherry picked from commit 6fef8d1ca7efe1b87602a764a8cbe62c880f623b)

* feat: PR improvements

- doblequotes for dosctring
- avoid jump of line if its not necessary

(cherry picked from commit ae27a15)
@johanseto
Copy link
Contributor Author

CLosed in favour of nelc/edx-platform#3

@johanseto johanseto closed this Jan 22, 2024
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.

1 participant