Skip to content

Commit

Permalink
#1316 Fix the flow query for to take into account users in multi orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 20, 2020
1 parent e130c3d commit f566d79
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions thehive/app/org/thp/thehive/services/AuditSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,7 @@ class AuditSteps(raw: GremlinScala[Vertex])(implicit db: Database, schema: Schem
_.inTo[ShareObservable].inTo[OrganisationShare],
_.outTo[AlertOrganisation]
)
.inTo[RoleOrganisation]
.inTo[UserRole]
.has(Key("login") of authContext.userId)
.has(Key("name") of authContext.organisation)
)
)

Expand Down

0 comments on commit f566d79

Please sign in to comment.