Files
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
..
2023-05-07 18:47:36 +08:00
2022-08-18 16:50:54 +08:00
2021-07-15 00:43:06 +08:00
2021-07-15 00:43:06 +08:00
2021-07-15 00:43:06 +08:00
2021-07-15 00:43:06 +08:00
2021-07-15 00:43:06 +08:00
2021-07-14 09:14:44 +08:00