Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67593

Workflow notifications link should not show when assigned to a different User

    Details

      Description

      Steps to reproduce:

      1. Add a new user with Portal Content Reviewer role
      2. Go to Configuration > Workflow Configuration
      3. Set Single Approver for Blogs
      4. Add a Blog entry > Submit for Publication
      5. Go to My Account > Notifications
      6. Assert Notification message "Test Test sent you a Blogs Entry for review in the workflow."
      7. Log in as new user (from step 1)
      8. Assert Notification message "Test Test sent you a Blogs Entry for review in the workflow."
      9. Assign Blogs Entry to 'Test Test'
      10. Go to My Account > Notifications
      11. View visible messages

      Expected Result
      User should see the message "Notification no longer applies."

      Actual Result
      User sees the message "Test Test sent you a Blogs Entry for review in the workflow." If the User clicks into the message, a Permissions error pops up since the workflow no longer applies to the User.

      Reproduced on:
      Tomcat 8.0 + PostgreSQL 9.4

      Portal 7.0.x EE Git ID 9a0eb70e1bde6b6a3ed96be2b85165abbc15fda8
      Portal master Git ID 7a26fab224c202efaded57996eece8b5d811657b

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              clarissa.velazquez Clarissa Velazquez
              Reporter:
              clarissa.velazquez Clarissa Velazquez
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 27 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master