• rpereira2's avatar
    Do not check read_environments for metrics dashboard · 2ac4384f
    rpereira2 authored
    - Do not check the read_environments permission for metrics dashboard
    APIs: metrics_redirect, metrics, additional_metrics, metrics_dashboard.
    
    - These APIs only needs to read the name, slug and state of one
    environment.
    
    - Access to these APIs is controlled by the metrics_dashboard
    feature/permission.
    2ac4384f
environments_controller_spec.rb 26.6 KB