From 3f27256589df18abb37e82bd51fec50f6b1a7ad5 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 25 Jan 2024 16:21:39 +0200 Subject: [PATCH] auth log more fields --- .../Espo/Resources/layouts/AuthLogRecord/filters.json | 5 ++++- application/Espo/Resources/layouts/AuthLogRecord/list.json | 6 ++++-- .../Espo/Resources/metadata/entityDefs/AuthLogRecord.json | 3 +-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/application/Espo/Resources/layouts/AuthLogRecord/filters.json b/application/Espo/Resources/layouts/AuthLogRecord/filters.json index dda71ca180..e943906c62 100644 --- a/application/Espo/Resources/layouts/AuthLogRecord/filters.json +++ b/application/Espo/Resources/layouts/AuthLogRecord/filters.json @@ -1,9 +1,12 @@ [ "username", + "user", "ipAddress", "authenticationMethod", "createdAt", "portal", "requestUrl", - "denialReason" + "denialReason", + "isDenied", + "authTokenIsActive" ] diff --git a/application/Espo/Resources/layouts/AuthLogRecord/list.json b/application/Espo/Resources/layouts/AuthLogRecord/list.json index f4c8f041da..35927135fb 100644 --- a/application/Espo/Resources/layouts/AuthLogRecord/list.json +++ b/application/Espo/Resources/layouts/AuthLogRecord/list.json @@ -1,7 +1,9 @@ [ {"name":"username"}, {"name":"isDenied", "widthPx": 100}, - {"name":"ipAddress", "width": 15}, + {"name":"ipAddress", "width": 14}, {"name":"denialReason", "width": 22}, - {"name":"createdAt", "width": 15} + {"name":"user", "width": 16}, + {"name":"createdAt", "width": 14} + ] diff --git a/application/Espo/Resources/metadata/entityDefs/AuthLogRecord.json b/application/Espo/Resources/metadata/entityDefs/AuthLogRecord.json index 23e2a13d6b..6477583057 100644 --- a/application/Espo/Resources/metadata/entityDefs/AuthLogRecord.json +++ b/application/Espo/Resources/metadata/entityDefs/AuthLogRecord.json @@ -72,8 +72,7 @@ "links": { "user": { "type": "belongsTo", - "entity": "User", - "noJoin": true + "entity": "User" }, "portal": { "type": "belongsTo",