Scoped Dashboard Filters for Performance and Access Control
planned
H
Hibiscus Caribou
Summary:
We’ve observed significant performance degradation in Harness.io dashboards when applying filters, particularly due to the large volume of data being queried. To address this, we propose an enhancement that introduces a feature flag to scope filter options based on user visibility—determined by their roles and assigned resource groups.
Details & Justification:
- Improved User Experience
Filtering large datasets currently results in slow dashboard performance, which negatively impacts usability and responsiveness. By limiting filter options to only relevant data, users can interact with dashboards more efficiently.
- Security and Compliance Alignment
Presenting all filter options regardless of access may inadvertently expose metadata about resources users shouldn’t be aware of. Restricting filter visibility supports a least privilege model and aligns with internal security and compliance standards.
- Scalability and Future-Proofing
As data volumes continue to grow, the current filter mechanism will become increasingly inefficient. Implementing scoped filters now will help ensure the dashboard experience remains performant and scalable.
- Suggested Implementation Approach
A configurable feature flag could be introduced to enable scoped filters based on user roles and resource groups. This would allow organizations to opt-in without disrupting existing dashboard configurations.
Log In
K
Kumar Vinay Ravindra
planned
K
Kumar Vinay Ravindra
Thank you for raising this request.
Data scoping based on roles and resource groups will definitely improve the user experience greatly. To add this capability we are making some big changes to the underlying data infrastructure. We are in the early stages of this process and we will provide updates as and when we have it.
Prateek Mittal
under review