From c29da46a976da4b7517eaf2f4bd2f4d390c6fe2a Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 16 Oct 2015 13:07:37 +0300 Subject: [PATCH] fix client side access denied --- frontend/client/src/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/client/src/controller.js b/frontend/client/src/controller.js index 5d236d86d9..8947bf8a70 100644 --- a/frontend/client/src/controller.js +++ b/frontend/client/src/controller.js @@ -152,7 +152,7 @@ Espo.define('controller', [], function () { handleAccessGlobal: function () { if (!this.checkAccessGlobal()) { - throw new Espo.Exceptions.AccessDenied("Denied access to action '" + this.name + "#" + action + "'"); + throw new Espo.Exceptions.AccessDenied("Denied access to '" + this.name + "'"); } },