Files
go-admin/app/admin/models
zhangwenjian b2053f507a refactor🎨: drop the unused second data permission implementation
app/admin/models/datascope.go carried a second copy of the scope logic with no
callers. Its department-tree pattern was written as "%" + id + "%" instead of
"%/" + id + "/%", so dept_id 1 also matched /11/, /21/ and /100/ - visibility
into unrelated subtrees.

It sat where someone looking for a data permission example would find it. The
copy that is actually wired up stays in common/actions.

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