mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
API: Require can_change_items for more endpoints
This commit is contained in:
@@ -35,7 +35,10 @@ def event(organizer, meta_prop):
|
||||
|
||||
@pytest.fixture
|
||||
def team(organizer):
|
||||
return Team.objects.create(organizer=organizer)
|
||||
return Team.objects.create(
|
||||
organizer=organizer,
|
||||
can_change_items=True,
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
Reference in New Issue
Block a user