Skip to content

Commit bae716f

Browse files
authored
fix(log): remove unwanted info from logs REST API (#36269)
1 parent 0c87034 commit bae716f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

superset/views/log/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,15 @@ class LogRestApi(LogMixin, BaseSupersetModelRestApi):
4646
resource_name = "log"
4747
allow_browser_login = True
4848
list_columns = [
49-
"user",
49+
"user.first_name",
50+
"user.last_name",
51+
"user.username",
5052
"user_id",
5153
"action",
5254
"dttm",
5355
"json",
5456
"slice_id",
5557
"dashboard_id",
56-
"user_id",
5758
"duration_ms",
5859
"referrer",
5960
]
@@ -65,7 +66,6 @@ class LogRestApi(LogMixin, BaseSupersetModelRestApi):
6566
"json",
6667
"slice_id",
6768
"dashboard_id",
68-
"user_id",
6969
"duration_ms",
7070
"referrer",
7171
]

0 commit comments

Comments
 (0)