fix classification attribute access for viewers (not custom roles) (#24092)
CI / AMD64 Build (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s

This commit is contained in:
Josh Hawkins
2026-08-25 14:40:26 -05:00
committed by GitHub
parent 41c8d6cc6b
commit 18c77faea5
3 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -1476,7 +1476,7 @@ paths:
- Classification
summary: Get custom classification attributes
description: |-
**Access:** Admin role required.
**Access:** Authenticated user with access to all cameras.
Returns custom classification attributes for a given object type.
Only includes models with classification_type set to 'attribute'.
@@ -1510,8 +1510,8 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- frigateAdminAuth: []
x-required-role: admin
- frigateUserAuth: []
x-required-role: all_cameras
/classification/{name}/train:
get:
tags: