Primary Account Selection for Merge Users Rules

EnhancementTorii IdentityTorii SMP

Admins can now designate a primary account when configuring Merge Users rules by a specific field, giving explicit control over which account's user record becomes the primary email after a merge.

  • A Primary account selector appears in the rule popup when an app has more than one account.
  • Defaults to Any account (existing behavior: most recent user wins); selecting a specific account promotes that account's user as primary.
  • If no merged user exists in the chosen account, Torii falls back to Any account automatically.