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

Operation 'Services.UntagDocument' only works if the tag being removed was added on the document by the current user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.1
    • Fix Version/s: 8.10
    • Component/s: Automation, Tagging
    • Backlog priority:
      500
    • Upgrade notes:
      Hide

      The behavior has changed to be the one described in documentation since 8.10, e.g: users with read permission can remove their own tags

      Show
      The behavior has changed to be the one described in documentation since 8.10, e.g: users with read permission can remove their own tags
    • Sprint:
      nxfit 8.4.1
    • Story Points:
      5

      Description

      It is not possible to remove a tag using operation Services.UntagDocument if the user running the operation is not the one who added it to the document.

      How to reproduce:

      • In studio, create a user action of type Contextual tools running the following automation chain and deploy it:
        - Context.FetchDocument
        - Services.UntagDocument:
            tags: tag1
        
      • log in as user1 and add tag tag1 on a document
      • log in as user2, navigate to the same document and click on the user action previously created (which should remove tag tag1)

      Tag tag1 is not removed, but using the Nuxeo UI, user user2 can remove the tag.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 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 day, 1 hour, 10 minutes
                  1d 1h 10m