mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
API: Add device info to all security profiles
This commit is contained in:
@@ -46,6 +46,7 @@ class PretixScanSecurityProfile(AllowListSecurityProfile):
|
|||||||
('GET', 'api-v1:version'),
|
('GET', 'api-v1:version'),
|
||||||
('GET', 'api-v1:device.eventselection'),
|
('GET', 'api-v1:device.eventselection'),
|
||||||
('GET', 'api-v1:idempotency.query'),
|
('GET', 'api-v1:idempotency.query'),
|
||||||
|
('GET', 'api-v1:device.info'),
|
||||||
('POST', 'api-v1:device.update'),
|
('POST', 'api-v1:device.update'),
|
||||||
('POST', 'api-v1:device.revoke'),
|
('POST', 'api-v1:device.revoke'),
|
||||||
('POST', 'api-v1:device.roll'),
|
('POST', 'api-v1:device.roll'),
|
||||||
@@ -80,6 +81,7 @@ class PretixScanNoSyncNoSearchSecurityProfile(AllowListSecurityProfile):
|
|||||||
('GET', 'api-v1:version'),
|
('GET', 'api-v1:version'),
|
||||||
('GET', 'api-v1:device.eventselection'),
|
('GET', 'api-v1:device.eventselection'),
|
||||||
('GET', 'api-v1:idempotency.query'),
|
('GET', 'api-v1:idempotency.query'),
|
||||||
|
('GET', 'api-v1:device.info'),
|
||||||
('POST', 'api-v1:device.update'),
|
('POST', 'api-v1:device.update'),
|
||||||
('POST', 'api-v1:device.revoke'),
|
('POST', 'api-v1:device.revoke'),
|
||||||
('POST', 'api-v1:device.roll'),
|
('POST', 'api-v1:device.roll'),
|
||||||
@@ -112,6 +114,7 @@ class PretixScanNoSyncSecurityProfile(AllowListSecurityProfile):
|
|||||||
('GET', 'api-v1:version'),
|
('GET', 'api-v1:version'),
|
||||||
('GET', 'api-v1:device.eventselection'),
|
('GET', 'api-v1:device.eventselection'),
|
||||||
('GET', 'api-v1:idempotency.query'),
|
('GET', 'api-v1:idempotency.query'),
|
||||||
|
('GET', 'api-v1:device.info'),
|
||||||
('POST', 'api-v1:device.update'),
|
('POST', 'api-v1:device.update'),
|
||||||
('POST', 'api-v1:device.revoke'),
|
('POST', 'api-v1:device.revoke'),
|
||||||
('POST', 'api-v1:device.roll'),
|
('POST', 'api-v1:device.roll'),
|
||||||
@@ -145,6 +148,7 @@ class PretixPosSecurityProfile(AllowListSecurityProfile):
|
|||||||
('GET', 'api-v1:version'),
|
('GET', 'api-v1:version'),
|
||||||
('GET', 'api-v1:device.eventselection'),
|
('GET', 'api-v1:device.eventselection'),
|
||||||
('GET', 'api-v1:idempotency.query'),
|
('GET', 'api-v1:idempotency.query'),
|
||||||
|
('GET', 'api-v1:device.info'),
|
||||||
('POST', 'api-v1:device.update'),
|
('POST', 'api-v1:device.update'),
|
||||||
('POST', 'api-v1:device.revoke'),
|
('POST', 'api-v1:device.revoke'),
|
||||||
('POST', 'api-v1:device.roll'),
|
('POST', 'api-v1:device.roll'),
|
||||||
|
|||||||
Reference in New Issue
Block a user