Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25066

Improve HTTP error status when user can not untrash

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF23, 10.3
    • Component/s: Automation, Core

      Description

      In the untrash operation added by NXP-24282, we check that user can untrash the document.
      If user doesn't have enough permission to do it, we throw a generic Nuxeo exception, which leads to a 500 error.

      We should return a 403 HTTP error.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m