Merge ~silverdrake11/canonical-identity-provider:ax-verified-emails into canonical-identity-provider:master
Proposed by
Kevin Nasto
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | 5c23068c8d3ef9cd7b670c025c577e62f6ba169a |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~silverdrake11/canonical-identity-provider:ax-verified-emails |
Merge into: | canonical-identity-provider:master |
Diff against target: |
183 lines (+93/-0) 5 files modified
README (+2/-0) src/identityprovider/const.py (+3/-0) src/identityprovider/forms.py (+14/-0) src/identityprovider/tests/test_forms.py (+46/-0) src/identityprovider/tests/test_views_server.py (+28/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John Paraskevopoulos | Approve | ||
Daniel Manrique (community) | Approve | ||
Review via email: mp+419248@code.launchpad.net |
Commit message
This adds an ax attribute which can be requested during login via the ax uri (alias "extra_emails"). This attribute contains a comma separated list of additional verified email addresses not including the preferred one.
This is useful to get emails associated with an ubuntu login id. In Landscape we would want to prevent using notification emails not associated with the current ubuntu login. Also tie invitations to current ubuntu login, and verify emails in one interface.
To post a comment you must log in.
Looks good, a minor suggestion to simplify the _get_extra_emails method but it's optional.