mirror of
https://github.com/apache/superset.git
synced 2026-05-28 11:15:24 +00:00
- Add model_serializer to UserInfo and RoleInfo so select_columns
context filtering is honored in list_users/list_roles output
(matches pattern used by list_databases/list_dashboards)
- Apply model_dump(context={"select_columns": ...}) in list_users and
list_roles, propagating column selection to nested Info serializers
- Move RoleDAO from mcp_service/role/dao.py to superset/daos/role.py
to be consistent with all other DAO locations in the repo
- Update list_users privacy tests: email requires explicit select_columns
request (not in default column set); roles unavailable in list context
because USER_DIRECTORY_FIELDS filters it from DAO column selection
- Add select_columns output-filtering tests for both list_users and
list_roles; fix role tool test patches to use new DAO module path
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>