Fix admin unable to access Filament panel #14

Merged
timmybee merged 1 commits from fix/ldap-admin-email into master 2026-03-06 15:27:02 +08:00
Owner

Summary

  • Seeded user emails used @example.com domains which don't match the LDAP mail attributes (@travel.local)
  • When logging in via LDAP, LdapRecord syncs the user by email — the mismatch caused it to create a new DB record without any roles, so canAccessPanel returned false
  • Fixed all three seeded users to use their correct @travel.local emails matching LDAP

Fix applied to live database

The existing DB records were updated directly to unblock the environment immediately.

## Summary - Seeded user emails used `@example.com` domains which don't match the LDAP `mail` attributes (`@travel.local`) - When logging in via LDAP, LdapRecord syncs the user by email — the mismatch caused it to create a new DB record without any roles, so `canAccessPanel` returned false - Fixed all three seeded users to use their correct `@travel.local` emails matching LDAP ## Fix applied to live database The existing DB records were updated directly to unblock the environment immediately.
timmybee added 1 commit 2026-03-06 15:11:20 +08:00
Fix seeder emails to match LDAP mail attributes
All checks were successful
linter / quality (pull_request) Successful in 1m27s
security / Dependency Audit (pull_request) Successful in 2m20s
security / Static Analysis (pull_request) Successful in 1m50s
tests / ci (8.4) (pull_request) Successful in 1m33s
tests / ci (8.5) (pull_request) Successful in 2m5s
66316328bb
Seeded user emails were using example.com domains which don't match
the LDAP mail attributes (travel.local). When users log in via LDAP,
LdapRecord syncs by email — a mismatch caused new DB records to be
created without roles, preventing admin access to the Filament panel.
timmybee merged commit 558759ac48 into master 2026-03-06 15:27:02 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: timmybee/travel#14