Details

    • Fix Priority:
      4
    • Similar Issues:
      Show 4 results 

      Description

      If a user is a member of a Private site, the user is unable to leave the site.

      Here are the steps to reproduce the issue:

      1. Add a Private site
      2. Add a Social Office user
      3. Invite the Social Office user to the Private site
      4. Log out
      5. Log in as the new Social Office user
      6. Confirm the invitation to the Private Site
      7. Go to More Sites
      8. Select My Sites
      9. Click on the "Leave Site" icon next to the Private site
      10. A message saying that the user has left the site will appear, but the user will actually still be a member of the site with full access to it

      This behavior does not occur with a restricted site. A user is able to properly leave a Restricted site after clicking the Leave Site icon.

        Activity

        Hide
        Jonathan Lee added a comment -

        In this ticket we also change the way for our Site Creation. Another ticket will be linked to this ticket.

        Show
        Jonathan Lee added a comment - In this ticket we also change the way for our Site Creation. Another ticket will be linked to this ticket.
        Hide
        mandy.zia added a comment -

        PASSED Manual Testing following steps 1-8 and the following step:

        9. Verify that the leave button is not available for the private site.

        The expected behavior is that members of a private site are unable to see the leave button (and therefore cannot leave a private site).

        Fixed on:
        Tomcat 7 + MySQL 5. Portal 6.1.x CE GIT ID: 4a107701e7d90314df2977ac408a9dfac73739ce.
        Plugins 6.1.x CE GIT ID: a19175bc1db162b8d4709e8f26c99ead8b4aade6.

        Show
        mandy.zia added a comment - PASSED Manual Testing following steps 1-8 and the following step: 9. Verify that the leave button is not available for the private site. The expected behavior is that members of a private site are unable to see the leave button (and therefore cannot leave a private site). Fixed on: Tomcat 7 + MySQL 5. Portal 6.1.x CE GIT ID: 4a107701e7d90314df2977ac408a9dfac73739ce. Plugins 6.1.x CE GIT ID: a19175bc1db162b8d4709e8f26c99ead8b4aade6.
        Show
        Josef Šustáček added a comment - I think the fix was wiped out by later fix for SOS-1040 in the commit 07404b0250fc3df6d2448f322b04fd1a87b265a5: https://github.com/liferay/liferay-plugins/commit/07404b0250fc3df6d2448f322b04fd1a87b265a5#portlets/so-portlet/docroot/sites/view_sites.jsp https://github.com/liferay/liferay-plugins/blob/07404b0250fc3df6d2448f322b04fd1a87b265a5/portlets/so-portlet/docroot/WEB-INF/src/com/liferay/so/sites/portlet/SitesPortlet.java Can you please test in latest CE and assign for re-fixing? Thanks.
        Hide
        Ken Duenwald added a comment -

        Reproduced on:
        Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 EE GA2.
        Plugins 6.1.x EE GIT ID: 8ebccbfedae3bef0d813a670d1acd77b7f54a258.

        Show
        Ken Duenwald added a comment - Reproduced on: Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 EE GA2. Plugins 6.1.x EE GIT ID: 8ebccbfedae3bef0d813a670d1acd77b7f54a258.
        Hide
        Evan Thibodeau added a comment -

        Reproduced on:
        Plugins CE 6.1.x GIT ID: 3d3431f0dd7dc2c179135a86c2a8cd41394f9f9f
        Portal-ee ee-6.1.x GIT ID: 3a5b00674729f3e6a76426d5478e48864f426ba7

        Tracked down the issue to portal. In UserServiceImpl.java a non-admin user is not allowed to leave a private site. The permissions currently only allow for a non-admin user to leave an open-site or a restricted-site.

        Product management needs to decide if this is a bug or intended feature.

        For now we can fix this by hiding the button to leave site when on a private site and not an admin user.

        Show
        Evan Thibodeau added a comment - Reproduced on: Plugins CE 6.1.x GIT ID: 3d3431f0dd7dc2c179135a86c2a8cd41394f9f9f Portal-ee ee-6.1.x GIT ID: 3a5b00674729f3e6a76426d5478e48864f426ba7 Tracked down the issue to portal. In UserServiceImpl.java a non-admin user is not allowed to leave a private site. The permissions currently only allow for a non-admin user to leave an open-site or a restricted-site. Product management needs to decide if this is a bug or intended feature. For now we can fix this by hiding the button to leave site when on a private site and not an admin user.
        Hide
        Ken Duenwald added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 EE GA2.
        Plugins 6.1.x EE GIT ID: 7cee2680a39c816b3b05953ce3b157cb6c39485d.
        Tomcat 7.0.27 + MySQL 5. Portal 6.1.x EE GIT ID: 1ba4fa3e1e3eb263d0ddb21a4839b7deac69f32d.
        Plugins 6.1.x EE GIT ID: 7cee2680a39c816b3b05953ce3b157cb6c39485d.

        Leave site button is now no longer visible.

        Show
        Ken Duenwald added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 EE GA2. Plugins 6.1.x EE GIT ID: 7cee2680a39c816b3b05953ce3b157cb6c39485d. Tomcat 7.0.27 + MySQL 5. Portal 6.1.x EE GIT ID: 1ba4fa3e1e3eb263d0ddb21a4839b7deac69f32d. Plugins 6.1.x EE GIT ID: 7cee2680a39c816b3b05953ce3b157cb6c39485d. Leave site button is now no longer visible.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response:
              Days since last comment:
              2 years, 30 weeks, 4 days ago

              Development

                Structure Helper Panel