You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(api): correct testsets router to use VIEW_TESTSETS for read operations
The testsets router was incorrectly using EDIT_EVALUATORS permission for all
operations including read-only endpoints. This prevented viewers from accessing
testsets, testset variants, and testset revisions.
Fixed the following endpoints to use VIEW_TESTSETS instead:
- fetch_testset
- query_testsets
- fetch_testset_variant
- query_testset_variants
- retrieve_testset_revision
- fetch_testset_revision
- query_testset_revisions
- log_testset_revisions
Write operations (create, edit, archive, commit) continue to use EDIT_EVALUATORS
which correctly prevents viewers from modifying content.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
0 commit comments