Files
go-admin/app/admin/service
zhangwenjian bd5e83d464 fix🐛: validate data scope on the role DTOs
Nothing checked what went into sys_role.data_scope, so creating a role without
a dataScope stored an empty string - the value that used to be indistinguishable
from "see everything".

All three DTOs that write the column are validated, not just the insert path:
they target the same column, and guarding one entrance while leaving two open
would not be a guard.

Claude-Session: https://claude.ai/code/session_01HPTAw8b8tAdFNFn8rKdPYx
2026-09-04 17:24:41 +08:00
..
2026-09-04 17:24:41 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00
2026-08-23 13:26:46 +08:00