Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-811

Fix HTTP 404 when calling Audit.QueryWithPageProvider by non admins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 3.0.14, 2.4.63
    • Component/s: UI
    • Release Notes Summary:
      Standard users won't see any HTTP 404 when calling Audit.QueryWithPageProvider on the first loading of WebUI.
    • Backlog priority:
      650
    • Sprint:
      UI - 2022-06

      Description

      The operation Audit.QueryWithPageProvider is restricted to admins only thanks to this contribution

       

      However WebUI makes a call by default to this operation though the component "nuxeo-audit-page-provider" (called when no docId is provided) and it generates HTTP 404 errors which bother the monitoring of customers.

      This ticket is to add a condition which does not call the operation if the current user is not an admin.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 15 minutes
                2h 15m