From 7ccb325eccedb44a53516981f2427afdbac3b066 Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 1 Oct 2021 08:39:42 +0200 Subject: [PATCH] fix(model): added everyone ACL to model --- back/models/{emailUser.json => email-user.json} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) rename back/models/{emailUser.json => email-user.json} (72%) diff --git a/back/models/emailUser.json b/back/models/email-user.json similarity index 72% rename from back/models/emailUser.json rename to back/models/email-user.json index d612d5d29..e983635ce 100644 --- a/back/models/emailUser.json +++ b/back/models/email-user.json @@ -23,5 +23,13 @@ "model": "Account", "foreignKey": "userFk" } - } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] }