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

Fix permissions published document link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 10.3
    • Fix Version/s: None
    • Component/s: Publishing, Web UI

      Description

      Given a user with ReadWrite permission on all documents:

      • Publish a document with any Rendition type except None.
      • Navigate to the published document.
      • Click on the link at the top ("You are viewing a publication of <DOC_TITLE>") to return to the original document.
        => Nothing happens.
        => Error in browser console (error actually appears when you first navigate to the published document, before you click on the link):
        nuxeo-app.html:15703 GET https://nightly-rainforest.nuxeo.com/nuxeo/api/v1/id/93700f05-bbf8-49f4-95d1-2f7f3705b695 403
        (anonymous) @ nuxeo-app.html:15703
        http @ nuxeo-app.html:15691
        execute @ nuxeo-app.html:16766
        _doExecute @ nuxeo-app.html:24018
        $.nx.request.then @ nuxeo-app.html:23999
        Promise.then (async)
        execute @ nuxeo-app.html:23997
        execute @ nuxeo-app.html:24253
        get @ nuxeo-app.html:24230
        _updateSrc @ elements.html:17644
        runObserverEffect @ nuxeo-app.html:2887
        runEffectsForProperty @ nuxeo-app.html:2832
        runEffects @ nuxeo-app.html:2798
        _propertiesChanged @ nuxeo-app.html:4382
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        _invalidateProperties @ nuxeo-app.html:4202
        set @ nuxeo-app.html:4537
        _instances.forEach @ nuxeo-app.html:26030
        _forwardHostProp @ nuxeo-app.html:26029
        Object.keys.forEach @ nuxeo-app.html:26009
        _updateModel @ nuxeo-app.html:26008
        runMethodEffect @ nuxeo-app.html:3488
        runEffectsForProperty @ nuxeo-app.html:2832
        runEffects @ nuxeo-app.html:2798
        _propertiesChanged @ nuxeo-app.html:4382
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        __enableOrFlushClients @ nuxeo-app.html:4275
        _flushClients @ nuxeo-app.html:4250
        _propertiesChanged @ nuxeo-app.html:4378
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        _invalidateProperties @ nuxeo-app.html:4202
        runNotifyEffects @ nuxeo-app.html:2931
        _propertiesChanged @ nuxeo-app.html:4385
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        _invalidateProperties @ nuxeo-app.html:4202
        runNotifyEffects @ nuxeo-app.html:2931
        _propertiesChanged @ nuxeo-app.html:4385
        _flushProperties @ nuxeo-app.html:1710
        _flushProperties @ nuxeo-app.html:4230
        _invalidateProperties @ nuxeo-app.html:4202
        _setProperty @ nuxeo-app.html:4187
        Object.defineProperty.set @ nuxeo-app.html:1519
        _request.path.queryParams.repositoryName.execute.then.then @ nuxeo-app.html:24034
        Promise.then (async)
        _doExecute @ nuxeo-app.html:24026
        $.nx.request.then @ nuxeo-app.html:23999
        Promise.then (async)
        execute @ nuxeo-app.html:23997
        execute @ nuxeo-app.html:24253
        get @ nuxeo-app.html:24230
        load @ nuxeo-app.html:79856
        (anonymous) @ nuxeo-app.html:53987
        (anonymous) @ nuxeo-app.html:53312
        nextEnter @ nuxeo-app.html:53144
        (anonymous) @ nuxeo-app.html:53313
        nextEnter @ nuxeo-app.html:53144
        (anonymous) @ nuxeo-app.html:53313
        nextEnter @ nuxeo-app.html:53144
        (anonymous) @ nuxeo-app.html:53313
        nextEnter @ nuxeo-app.html:53144
        (anonymous) @ nuxeo-app.html:53966
        (anonymous) @ nuxeo-app.html:53312
        nextEnter @ nuxeo-app.html:53144
        scrollToTop @ nuxeo-app.html:53961
        (anonymous) @ nuxeo-app.html:53312
        nextEnter @ nuxeo-app.html:53144
        nextExit @ nuxeo-app.html:53132
        page.dispatch @ nuxeo-app.html:53148
        page.show @ nuxeo-app.html:53039
        onpopstate @ nuxeo-app.html:53373
        11:56:45.034 nuxeo-app.html:24055 Resource request failed: Privilege 'Read' is not granted to 'user10'
        11:56:45.051 /nuxeo/ui/#!/browse/domain-10/sections/section-10/note-10-html.1545044200000:1 Uncaught (in promise) {entity-type: "exception", status: 403, message: "Privilege 'Read' is not granted to 'user10'"}
        

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: