mirror of
https://github.com/pretix/pretix.git
synced 2026-08-09 10:37:50 +00:00
Replacement after rebase
This commit is contained in:
@@ -138,7 +138,7 @@ class OrderDetailMixin(NoSearchIndexViewMixin):
|
||||
code=self.kwargs['order'], received_secret=self.kwargs['secret'], tag=None,
|
||||
)
|
||||
|
||||
if has_event_access_permission(self.request, 'can_view_orders'):
|
||||
if has_event_access_permission(self.request, 'event.orders:read'):
|
||||
return order
|
||||
|
||||
if order.customer is None or not order.customer.is_verified or self._allow_anonymous_access():
|
||||
|
||||
Reference in New Issue
Block a user