diff --git a/backend/src/schema/types/type/Post.gql b/backend/src/schema/types/type/Post.gql index 8ea8b5cdb..dbfa0676d 100644 --- a/backend/src/schema/types/type/Post.gql +++ b/backend/src/schema/types/type/Post.gql @@ -170,6 +170,7 @@ type Post { @cypher(statement: "MATCH (this)<-[emoted:EMOTED]-(:User) RETURN COUNT(DISTINCT emoted)") group: Group @relation(name: "IN", direction: "OUT") + notVisibleFor: [User]! @cypher("MATCH (this)<-[:CANNOT_SEE]-(user:User) RETURN user") } input _PostInput {