• Ash McKenzie's avatar
    /api/v4/allowed returns proper HTTP status codes · 0601b521
    Ash McKenzie authored
    * Previously, a 200 (OK) was sent when the user was unauthorised or the project was not found (or the user didn't have access)
    * We still treat 401 and 404 as 'success' but we need to explicitly handle them
    0601b521
gitlab_net.rb 4.67 KB