diff --git a/lib/remote/httpserverconnection.cpp b/lib/remote/httpserverconnection.cpp index dc6492a18..b9a8ab814 100644 --- a/lib/remote/httpserverconnection.cpp +++ b/lib/remote/httpserverconnection.cpp @@ -348,8 +348,6 @@ bool EnsureValidBody( Array::Ptr permissions = authenticatedUser->GetPermissions(); if (permissions) { - CpuBoundWork evalPermissions (yc); - ObjectLock olock(permissions); for (const Value& permissionInfo : permissions) {