From 41a7d8673fb47d857d4e5950c3f6a881dd2af48e Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Wed, 25 Oct 2023 12:37:54 +0200 Subject: [PATCH] Update `scheme.graphql` This was forgotten in the previous commit. But that was already basically released, so oh well. It's just the comment of the API which is only interesting for us anyway. --- frontend/src/schema.graphql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/schema.graphql b/frontend/src/schema.graphql index 193e12a8a..d79c9f7f2 100644 --- a/frontend/src/schema.graphql +++ b/frontend/src/schema.graphql @@ -438,8 +438,9 @@ type Query { "Returns `null` if the query is too short." search(query: String!): SearchOutcome! """ - Searches through all events (including non-listed ones). Requires - moderator rights. + Searches through all events that the user has write access to + (unlisted and listed). If `writeable_only` is `false`, events that are + listed and that the user has read access to are also returned. """ searchAllEvents(query: String!, writableOnly: Boolean!): EventSearchOutcome! """