PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-18508

User belonging to a group which has a role can't see Workflow instances

    Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 5 results 

      Description

      Step to reproduce :
      1/ create a user "userTest"
      2/ create a userGroup "userGroupTest"
      3/ assign userTest to userGroupTest
      4/ apply role "Portal Administrator" to userGroupTest
      5/ apply "Single Approver" Workflow to the journalArticle content type
      6/ create a journalArticle, and click on "Submit for publication"

      All user belonging to userGroupTest won't be able to see and assign the workflow task in the Kaleo page "My Workflow Tasks". Allthough it is possible to see and assign this task in the "Workflow" page from control panel ("Submissions" tab)

      So the page "My Workflow Tasks" should also display all workflow tasks belonging to the role which is applied to the userGroup

        Activity

        Hide
        Sophia Zhang added a comment -

        Hi Vimos,
        I retested this issue on trunk-94208 and 60x-94208 with same plugin revision. I can view My workflow Tasks now as the user, but I couldn't view My submissions.
        According to my understanding, User belonging to the a group which has Admin role should also have same admin role. So if the Joe Bloggs has permission to view pending publications from My Submission in control panel.
        So this issue should be partly fixed. I will reopen it, but if you think this is the expected behavior, let me know so I could close this issue.
        Thanks,
        Sophia

        Show
        Sophia Zhang added a comment - Hi Vimos, I retested this issue on trunk-94208 and 60x-94208 with same plugin revision. I can view My workflow Tasks now as the user, but I couldn't view My submissions. According to my understanding, User belonging to the a group which has Admin role should also have same admin role. So if the Joe Bloggs has permission to view pending publications from My Submission in control panel. So this issue should be partly fixed. I will reopen it, but if you think this is the expected behavior, let me know so I could close this issue. Thanks, Sophia
        Hide
        Sophia Zhang added a comment -

        I misunderstood what's the expected behavior. Actually it's fixed. User with admin role should not see submissions in My submission cause he was not the assets submitter.
        Thanks vimos.

        Show
        Sophia Zhang added a comment - I misunderstood what's the expected behavior. Actually it's fixed. User with admin role should not see submissions in My submission cause he was not the assets submitter. Thanks vimos.
        Hide
        Sophia Zhang added a comment -

        Since no more codes committed to 60x, so it's still working on 60x. But I failed build 61x-94251, so I need wait until the build is fixed.

        Show
        Sophia Zhang added a comment - Since no more codes committed to 60x, so it's still working on 60x. But I failed build 61x-94251, so I need wait until the build is fixed.
        Hide
        Sophia Zhang added a comment -

        PASSED Manual Testing following steps in description.

        Reproduced on:
        Tomcat 7.0.21 + MySQL 5. 6.1.x Revision: 84469.
        The user couldn't see workflow instance

        Fixed on:
        Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 94208.
        Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 94208.
        The user could see workflow instance now.

        Show
        Sophia Zhang added a comment - PASSED Manual Testing following steps in description. Reproduced on: Tomcat 7.0.21 + MySQL 5. 6.1.x Revision: 84469. The user couldn't see workflow instance Fixed on: Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 94208. Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 94208. The user could see workflow instance now.
        Hide
        Sophia Zhang added a comment -

        PASSED Manual Testing following steps in description.

        Reproduced on:
        Tomcat 7.0.21 + MySQL 5. 6.1.x Revision: 84469.
        The user couldn't see workflow instance

        Fixed on:
        Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 94208.
        Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 94208.
        The user could see workflow instance now.

        Show
        Sophia Zhang added a comment - PASSED Manual Testing following steps in description. Reproduced on: Tomcat 7.0.21 + MySQL 5. 6.1.x Revision: 84469. The user couldn't see workflow instance Fixed on: Tomcat 6.0.33 + MySQL 5. 6.0.x Revision: 94208. Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 94208. The user could see workflow instance now.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 20 weeks, 6 days ago

              Development

                Structure Helper Panel