Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-190

Non admin user can't add comment to the annotation they created

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Connector
    • Environment:
      ARender version: 4.0.6.NX1.0
      Docker deployment
      Kubernetes
      Jenkins X

      Description

      Description

      For a user with read only or read/write permission, I can add all types of annotations but, for some of them, the comments I add are not saved.

      The reply to existing comments is working well.

      The changes are saved for a user with Administrator or power user role.

      The issue only involves the following annotations types:

      • Add arrow
      • Add freehand
      • Highlight rectangle
      • Add circle
      • Add stamp

      Platforms

      • Reproduced on QA platform: YES
      • Reproduced on Jenkins X preview version (95 or 99): YES

      Reproduction Steps

      1. Sign in with a read only user,
      2. Go to a document and select Annotations view
      3. Select "Add freehand" annotation (or any of the involved annotation type listed above)
      4. Add the annotation
      5. Double click on the comment text area of the annotation (in annotation browser)
      6. Add a comment
      7. Click on Submit action
      8. Sign out and login as an Administrator
      9. Go back to the document
      10. Click on Annotation tab
      11. Go the annotation previously created
      12. Add text in the comment and submit

      Observed result

      4. The annotation is correctly added

      7. The added text is added and then deleted after a few seconds (auto-refresh of the page)

      7. The comment is NOT synchronized on Nuxeo comment

      11. The comment is empty

      12. The updated comment is saved

      12. The updated comment is synchronized on Nuxeo comment

      Expected result

      4. The annotation is correctly added

      7. The added text is saved

      7. The comment is synchronized on Nuxeo comment

      11. The comment contained the text previously added

      12. The updated comment is saved

      12. The updated comment is synchronized on Nuxeo comment

        Attachments

        1. Comment is empty after Read only user clicked on submit.png
          347 kB
          Julien Aubenque
        2. Comment is saved when added by Administrator.png
          360 kB
          Julien Aubenque
        3. JSF Migration view.png
          160 kB
          Julien Aubenque
        4. Read only user add comment.png
          334 kB
          Julien Aubenque

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: