•  
      request #11463 Misleading error message when trying to delete an artifact via REST
    Infos
    #11463
    Nicolas Terray (nterray)
    2018-05-07 11:12
    2018-05-04 11:33
    11774
    Details
    Misleading error message when trying to delete an artifact via REST
    When the site admin set the limit in artifact deletion configuration to 0, it means that nobody can delete an artifact.

    In that case, when I try DELETE /artifacts/:id, I should get a 403 Forbidden instead of a 429 Too many requests with error message "The limit of artifacts deletions has been reached for the previous 24 hours". When the user did not delete any artifacts in the previous 24 hours, this message is wrong.
    API
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-05-07
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-05-07 11:12
    Integrated into Tuleap 10.0.99.39.

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2018-05-07