You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2025/11/25 18:10:36 UTC

(superset) branch master updated: fix(log): remove unwanted info from logs REST API (#36269)

This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new bae716fa83 fix(log): remove unwanted info from logs REST API (#36269)
bae716fa83 is described below

commit bae716fa83c5a3bb47fd1d751b127bccea6b2aba
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Tue Nov 25 18:10:29 2025 +0000

    fix(log): remove unwanted info from logs REST API (#36269)
---
 superset/views/log/api.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/superset/views/log/api.py b/superset/views/log/api.py
index 53a7e08d7f..57945ce592 100644
--- a/superset/views/log/api.py
+++ b/superset/views/log/api.py
@@ -46,14 +46,15 @@ class LogRestApi(LogMixin, BaseSupersetModelRestApi):
     resource_name = "log"
     allow_browser_login = True
     list_columns = [
-        "user",
+        "user.first_name",
+        "user.last_name",
+        "user.username",
         "user_id",
         "action",
         "dttm",
         "json",
         "slice_id",
         "dashboard_id",
-        "user_id",
         "duration_ms",
         "referrer",
     ]
@@ -65,7 +66,6 @@ class LogRestApi(LogMixin, BaseSupersetModelRestApi):
         "json",
         "slice_id",
         "dashboard_id",
-        "user_id",
         "duration_ms",
         "referrer",
     ]