SAML affiliated emails can cause email drift

Bug #1997308 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
22.10
Fix Released
High
Unassigned
23.04
Fix Released
High
Unassigned

Bug Description

Where the primary email in artefact_internal_profile_email is different to the email listed in usr.email field

This is because the $user->email value is updated with the 'email' field from SAML and is not overridden by the affiliate email value when logging in and updating a user record

Robert Lyon (robertl-9)
Changed in mahara:
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13490
Committed: https://git.mahara.org/mahara/mahara/commit/8cfb30d0abb24ab7cb9071910e8002b67c546aab
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 8cfb30d0abb24ab7cb9071910e8002b67c546aab
Author: Robert Lyon <email address hidden>
Date: Tue Nov 22 17:24:48 2022 +1300

Bug 1997308: Stop affiliated email drift on login

When the account already exists

Change-Id: I6bd109390778f7415b850cda5eb35eb6511eb7d0
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "22.10_DEV" branch: https://reviews.mahara.org/c/mahara/+/13502

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13502
Committed: https://git.mahara.org/mahara/mahara/commit/8625009c81800002c7bc260810b277bee1b3ea93
Submitter: "Robert Lyon <email address hidden>"
Branch: 22.10_DEV

commit 8625009c81800002c7bc260810b277bee1b3ea93
Author: Robert Lyon <email address hidden>
Date: Tue Nov 22 17:24:48 2022 +1300

Bug 1997308: Stop affiliated email drift on login

When the account already exists

Change-Id: I6bd109390778f7415b850cda5eb35eb6511eb7d0
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 8cfb30d0abb24ab7cb9071910e8002b67c546aab)

Robert Lyon (robertl-9)
Changed in mahara:
milestone: 23.04.0 → none
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
no longer affects: mahara
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.