Liferay Issues

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Test Sessions Access more options
    • Getting Started
PUBLIC - Liferay Social Office Community Edition
  • PUBLIC - Liferay Social Office Community Edition
  • SOS-1010

User cannot leave a Private Site

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Regression Bug Regression Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.1.X CE
  • Fix Version/s: 2.1.X CE, 2.0.3 EE, 2.0.4 CE GA2
  • Component/s: Social Office Dashboard, Social Office Dashboard > Sites, Social Office Site > Site Look & Feel
  • Labels:
    None
  • Environment:
    Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 EE GA2.
    Plugins 6.1.x EE GIT ID: 8ebccbfedae3bef0d813a670d1acd77b7f54a258.
  • Fix Priority:
    4
  • Similar Issues:
    Show 4 results 

    SOS-1154Leaving a Private Restricted site will not refresh the screen
    SOS-1351User cannot see membership request if invited to a private site by email.
    SOS-166Leaving a Private Site as a Community Member displays a permissions error
    SOS-1004User can join a open Social Office site when visiting the site.

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

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions Summary
  • Commits
Hide
Permalink
Jonathan Lee added a comment - 08/May/12 4:04 PM

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 - 08/May/12 4:04 PM In this ticket we also change the way for our Site Creation. Another ticket will be linked to this ticket.
Hide
Permalink
Mandy Zia added a comment - 21/May/12 5:23 PM

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 - 21/May/12 5:23 PM 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.
Hide
Permalink
Josef Šustáček added a comment - 20/Sep/12 10:04 AM

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.

Show
Josef Šustáček added a comment - 20/Sep/12 10:04 AM 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
Permalink
Ken Duenwald added a comment - 25/Sep/12 11:23 AM

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 - 25/Sep/12 11:23 AM Reproduced on: Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 EE GA2. Plugins 6.1.x EE GIT ID: 8ebccbfedae3bef0d813a670d1acd77b7f54a258.
Hide
Permalink
Evan Thibodeau added a comment - 17/Oct/12 12:02 PM

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 - 17/Oct/12 12:02 PM 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
Permalink
Ken Duenwald added a comment - 23/Oct/12 6:05 PM

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 - 23/Oct/12 6:05 PM 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

  • Assignee:
    Ken Duenwald
    Reporter:
    Ken Duenwald
    Participants of an Issue:
    Evan Thibodeau, Jonathan Lee, Josef Šustáček, Ken Duenwald, Mandy Zia
Vote (0)
Watch (2)

Dates

  • Created:
    12/Apr/12 2:18 PM
    Updated:
    15/May/13 3:24 PM
    Resolved:
    20/Oct/12 12:55 AM
    Date of First Response:
    08/May/12 4:04 PM
    Days since last comment:
    34 weeks ago

Agile

  • View on Board
  • Atlassian JIRA (v5.2.11#854-sha1:ef00d61)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Liferay. Try JIRA - bug tracking software for your team.