Closed HugoCasa closed 1 month ago
[!IMPORTANT] Add tag filtering for JWT authentication by modifying scope handling and SQL queries in the backend. Behavior: Add tag filtering for JWT authentication in windmill-api/src/jobs.rs and windmill-api/src/users.rs. Modify check_scopes to handle jobs: and run: scope prefixes. Introduce get_scope_tags to extract tags from JWT scopes. JWT Claims: Add scopes field to JWTAuthClaims in auth.rs. SQL Queries: Update SQL queries in list_queue_jobs_query and list_completed_jobs_query to filter by tags. Misc: Update ee-repo-ref.txt to new commit hash. This description was created by for 20e2c2484372634aa5c3d032517e9e366c504878. It will automatically update as commits are pushed.
[!IMPORTANT] Add tag filtering for JWT authentication by modifying scope handling and SQL queries in the backend.
windmill-api/src/jobs.rs
windmill-api/src/users.rs
check_scopes
jobs:
run:
get_scope_tags
scopes
JWTAuthClaims
auth.rs
list_queue_jobs_query
list_completed_jobs_query
ee-repo-ref.txt
This description was created by for 20e2c2484372634aa5c3d032517e9e366c504878. It will automatically update as commits are pushed.
20e2c24
View logs