buster/apps/api/libs/handlers
dal cdf9748cd0
Enhance metric fetching with user context and permission handling
- Updated `get_dashboard_handler` to pass user context when fetching metrics.
- Modified `get_metric_data_handler` to include user information for metric definition retrieval.
- Refactored `get_metric_for_dashboard_handler` to enforce permission checks based on user roles and public access rules.
- Introduced user permission filtering in dashboard and collection fetching functions.
- Improved error handling and logging for permission-related issues.
2025-07-07 11:55:26 -06:00
..
src Enhance metric fetching with user context and permission handling 2025-07-07 11:55:26 -06:00
tests Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
CLAUDE.md Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
Cargo.toml Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00