From c8e247d85058d55bae6e4d3ffdcfad254f198e0c Mon Sep 17 00:00:00 2001
From: Sascha Schmidt <s.schmidt@adito.de>
Date: Thu, 21 Oct 2021 13:30:44 +0200
Subject: [PATCH] [Projekt: xRM-ContactManagement][TicketNr.:
 2001615][Actitivylinks werden nicht mehr angezeigt und werfen Fehler]

---
 process/Permission_lib/process.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/process/Permission_lib/process.js b/process/Permission_lib/process.js
index bcd5ad4035..6bbde7c56e 100644
--- a/process/Permission_lib/process.js
+++ b/process/Permission_lib/process.js
@@ -1017,12 +1017,12 @@ function PermissionUtil () {}
         if(pRecordState != neon.OPERATINGSTATE_NEW && pObjectType) 
         {
             var entity = ContextUtils.getEntity(pObjectType);
-            if (tools.hasPermission(tools.PERMISSION_VIEW, entity, null, pUser, null))
+            if (tools.hasPermission(tools.PERMISSION_VIEW, entity, null, pUser))
             {
                 if (pObjectRowId)
                 {
                     try {
-                        if (tools.hasPermission(tools.PERMISSION_READ, entity, null, pUser, [pObjectRowId]))
+                        if (tools.hasPermission(tools.PERMISSION_READ, entity, null, pUser))
                         {
                             res = {
                                 status: tools.PERMISSION_READ, 
-- 
GitLab