From 443016790af351fe51f2f35fe8f878cefc89fc4e Mon Sep 17 00:00:00 2001 From: yuri Date: Wed, 16 Aug 2017 14:45:23 +0300 Subject: [PATCH] fix menu check access --- client/src/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/utils.js b/client/src/utils.js index 957b4b811e..08cd2305f3 100644 --- a/client/src/utils.js +++ b/client/src/utils.js @@ -45,6 +45,8 @@ Espo.define('utils', [], function () { } else { hasAccess = acl.check(item.aclScope, item.acl); } + } else if (item.aclScope) { + hasAccess = acl.checkScope(item.aclScope); } return hasAccess; },