mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 18:20:50 +00:00
`NULL NOT IN (...)` evaluates to NULL rather than true, so the previous condition left a NULL data_scope exactly as it found it - and NULL is the one value that most needs the repair: it scans into a Go string as "", which is what the fail-closed default now refuses. The column has no NOT NULL constraint, so the value is reachable from any writer that is not the admin UI. Claude-Session: https://claude.ai/code/session_01HPTAw8b8tAdFNFn8rKdPYx