mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
REST API: Add organizer-level settings (#1866)
Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
@@ -137,6 +137,8 @@ event_permission_sub_urls = [
|
||||
]
|
||||
|
||||
org_permission_sub_urls = [
|
||||
('get', 'can_change_organizer_settings', 'settings/', 200),
|
||||
('patch', 'can_change_organizer_settings', 'settings/', 200),
|
||||
('get', 'can_change_organizer_settings', 'webhooks/', 200),
|
||||
('post', 'can_change_organizer_settings', 'webhooks/', 400),
|
||||
('get', 'can_change_organizer_settings', 'webhooks/1/', 404),
|
||||
|
||||
Reference in New Issue
Block a user