buster/apps/api/libs
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
..
agents Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
braintrust Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
database Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
dataset_security Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
email Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
handlers Enhance metric fetching with user context and permission handling 2025-07-07 11:55:26 -06:00
litellm Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
middleware Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
query_engine Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
raindrop Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
rerank Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
search Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
semantic_layer Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
sharing Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
sql_analyzer Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
stored_values Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
streaming Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
CLAUDE-TEMPLATE.md Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00
CLAUDE.md Mastra braintrust (#391) 2025-07-02 14:33:40 -07:00