forked from CGM_Public/pretix_original
Minor improvements to security profiles
This commit is contained in:
@@ -58,6 +58,8 @@ class PretixScanNoSyncSecurityProfile(WhiteListSecurityProfile):
|
|||||||
('GET', 'api-v1:question-list'),
|
('GET', 'api-v1:question-list'),
|
||||||
('GET', 'api-v1:badgelayout-list'),
|
('GET', 'api-v1:badgelayout-list'),
|
||||||
('GET', 'api-v1:badgeitem-list'),
|
('GET', 'api-v1:badgeitem-list'),
|
||||||
|
('GET', 'api-v1:checkinlist-list'),
|
||||||
|
('GET', 'api-v1:checkinlist-status'),
|
||||||
('POST', 'api-v1:checkinlistpos-redeem'),
|
('POST', 'api-v1:checkinlistpos-redeem'),
|
||||||
('GET', 'api-v1:event.settings'),
|
('GET', 'api-v1:event.settings'),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class DeviceSerializer(serializers.ModelSerializer):
|
|||||||
model = Device
|
model = Device
|
||||||
fields = [
|
fields = [
|
||||||
'organizer', 'device_id', 'unique_serial', 'api_token',
|
'organizer', 'device_id', 'unique_serial', 'api_token',
|
||||||
'name',
|
'name', 'security_profile'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user