• Furkan Ayhan's avatar
    Restrict access to project pipeline metrics reports · d7d681bb
    Furkan Ayhan authored
    Public projects can restrict access to pipeline.
    However, metrics_reports endpoint is publicly accessible
    even it is restricted in UI.
    
    This commit:
    - adds metrics_reports to authorize_read_pipeline! filter.
    - adds and refactor tests
    d7d681bb
merge_requests_controller_spec.rb 25.2 KB