Repository navigation
Commit 708285f
Give existing users without a contact a placeholder contact
Users created before the previous fixes (most often by an LDAP login whose
contact insert failed) have user_contact = 0. They are missing from User
Management and the per-user permission check denies viewing them, so an
admin has no way to give them a role.
Migration 065 creates a minimal contact named after the login name for
every user whose contact is missing, links it to the user, and is a no-op
when there are none.
Refs #320
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016CP89WVmGZ1VVCCZMS6ntN1 parent 27b2354 commit 708285f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments