From 6c8e9b129a9000ab161faf77372837f348c6e4ed Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 18 Jun 2024 08:54:05 +0300 Subject: [PATCH] avatar color attribute in avatar field --- application/Espo/Resources/metadata/app/acl.json | 6 +----- application/Espo/Resources/metadata/entityDefs/User.json | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/application/Espo/Resources/metadata/app/acl.json b/application/Espo/Resources/metadata/app/acl.json index 09b0880a0f..92df22fd81 100644 --- a/application/Espo/Resources/metadata/app/acl.json +++ b/application/Espo/Resources/metadata/app/acl.json @@ -119,11 +119,7 @@ }, "scopeFieldLevel": { "User": { - "gender": false, - "avatarColor": { - "read": "yes", - "edit": "no" - } + "gender": false } } }, diff --git a/application/Espo/Resources/metadata/entityDefs/User.json b/application/Espo/Resources/metadata/entityDefs/User.json index e6f5dbddba..834242b084 100644 --- a/application/Espo/Resources/metadata/entityDefs/User.json +++ b/application/Espo/Resources/metadata/entityDefs/User.json @@ -404,6 +404,9 @@ "defaultAttributes": { "avatarId": null }, + "additionalAttributeList": [ + "avatarColor" + ], "layoutAvailabilityList": [] }, "avatarColor": {