Enhance diagnostic output of the account-merging script
Bug #721318 reported by
David Owen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Fix Released
|
Low
|
David Owen |
Bug Description
When safety checks fail, additional information could be printed to the user to explain the failure. Here's a good description:
08:18 < stuartm> it's not an openid association as in something which can be
to a remote site and by effectively deleting the account on
Additionally, the script should print a list of sites that would be affected. The query could be as simple as:
account.
Related branches
lp://staging/~canonical-isd-hackers/canonical-identity-provider/721318-enhance-merge
- Michael Nelson (community): Approve
-
Diff: 90 lines (+32/-13)3 files modifiedidentityprovider/bin/accounts_merge.py (+23/-9)
identityprovider/models/account.py (+2/-2)
wsgiserver.py (+7/-2)
Changed in canonical-identity-provider: | |
assignee: | nobody → David Owen (dsowen) |
importance: | Undecided → Low |
status: | New → In Progress |
tags: | added: kb-task |
Changed in canonical-identity-provider: | |
status: | In Progress → Fix Committed |
Changed in canonical-identity-provider: | |
milestone: | none → 11.03.15 |
tags: | added: sp-1 |
Changed in canonical-identity-provider: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Notes for QA:
This script is intended to be run against the production db. However to test this, the merge-accounts script can be run and see that it warns about the merge source account and lists all sites the account was used.