Skip to content

CAS/SAML classlist import should link existing users by student number instead of rejecting #1104

@catinhere

Description

@catinhere

Problem

When importing a CAS/SAML classlist, if a username in the CSV has a student number that matches an existing user in the system, the import rejects the row with "This student number already exists in the system." This prevents linking a CAS/SAML identity to a user who was previously created via a different auth method (e.g. local ComPAIR account or LTI).

Expected Behaviour

If the existing user does not yet have a third-party auth link of the same type (CAS or SAML), the import should link the new identity to that user and enrol them in the course instead of rejecting.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions