From 4f0a85b5f00c888eac574cb836c719cbb7b07b47 Mon Sep 17 00:00:00 2001 From: To-om Date: Thu, 9 Jul 2020 18:57:19 +0200 Subject: [PATCH] #1427 Fix case template visibility check --- thehive/app/org/thp/thehive/services/CaseTemplateSrv.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/thehive/app/org/thp/thehive/services/CaseTemplateSrv.scala b/thehive/app/org/thp/thehive/services/CaseTemplateSrv.scala index 6d660b8b01..3160db8278 100644 --- a/thehive/app/org/thp/thehive/services/CaseTemplateSrv.scala +++ b/thehive/app/org/thp/thehive/services/CaseTemplateSrv.scala @@ -199,7 +199,6 @@ class CaseTemplateSteps(raw: GremlinScala[Vertex])(implicit @Named("with-thehive if (authContext.permissions.contains(permission)) this.filter( _.outTo[CaseTemplateOrganisation] - .inTo[RoleOrganisation] .has("name", authContext.organisation) ) else