diff --git a/angular_app/event-edit.html b/angular_app/event-edit.html index ce395e8..e164c10 100644 --- a/angular_app/event-edit.html +++ b/angular_app/event-edit.html @@ -78,7 +78,7 @@ {{'Where' | translate}} -
+
{{'Group ID' | translate}}
diff --git a/eventman_server.py b/eventman_server.py index d6fe8fb..6d5640d 100755 --- a/eventman_server.py +++ b/eventman_server.py @@ -632,6 +632,8 @@ class EventsHandler(CollectionHandler): self._check_number_of_tickets(event) except InputException: event['no_tickets_for_sale'] = True + if not self.has_permission('event|write'): + event['group_id'] = '' if not self.has_permission('tickets-all|read'): event['tickets'] = [] return event