PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)

Make personal community setting for Power User configurable

Details

  • Type: Improvement Improvement
  • Status: Reopened Reopened
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 5.1.0
  • Fix Version/s: 5.1.0
  • Component/s: None
  • Labels:
    None
  • Similar Issues:
    Show 5 results 

Description

5.1.0 introduces a new feature, Personal Communites for everyone. Pre 5.1 only Power Users get a Personal Community.

Improvement:
Create a setting in portal.properties that would allow to revert 5.1 to revert back to the old logic of only Power Users receiving a personal community.

Also See http://www.liferay.com/web/icheung/blog/-/blogs/5-1-overhaul-of-personal-communities

Activity

Hide
Brian Chan added a comment - - Restricted to

Ok, made it backwards compatible now via:

#

  1. Set this to true if users must have the Power User role to have private
  2. pages.
    #
    layout.user.private.layouts.power.user.required=false

and

#

  1. Set this to true if users must have the Power User role to have public
  2. pages.
    #
    layout.user.public.layouts.power.user.required=false

So it's even more flexible than before.

Show
Brian Chan added a comment - - Restricted to Ok, made it backwards compatible now via: #
  1. Set this to true if users must have the Power User role to have private
  2. pages. # layout.user.private.layouts.power.user.required=false
and #
  1. Set this to true if users must have the Power User role to have public
  2. pages. # layout.user.public.layouts.power.user.required=false
So it's even more flexible than before.
Hide
Jorge Ferrer added a comment - - Restricted to

Hi Brian,

I'm very glad you did this. In fact I think the default should be 'true' for backwards compatibility. Is there any reason to set it to false?

Show
Jorge Ferrer added a comment - - Restricted to Hi Brian, I'm very glad you did this. In fact I think the default should be 'true' for backwards compatibility. Is there any reason to set it to false?
Hide
Jorge Ferrer added a comment - - Restricted to

Nevermind, I've seen that you've set it to false by default in portal-legacy-5.0.properties

I've documented the use of that file in http://wiki.liferay.com/index.php/Upgrade_Instructions_from_5.0_to_5.1#Changes_in_configuration_properties

Show
Jorge Ferrer added a comment - - Restricted to Nevermind, I've seen that you've set it to false by default in portal-legacy-5.0.properties I've documented the use of that file in http://wiki.liferay.com/index.php/Upgrade_Instructions_from_5.0_to_5.1#Changes_in_configuration_properties
Hide
Darshak Thakore added a comment -

this is really great. thanks a lot for adding this. I would have had to fix the code otherwise since we definitely wanted to keep the power user methodology.

Show
Darshak Thakore added a comment - this is really great. thanks a lot for adding this. I would have had to fix the code otherwise since we definitely wanted to keep the power user methodology.
Hide
shawaw added a comment - - Restricted to

I set the below in portal-ext.properties
layout.user.private.layouts.power.user.required=true
layout.user.public.layouts.power.user.required=true

I then login as a non-power-user, if I move over the My-Places, I can still see the PUBLIC and PRIVATE page links under My-Community. Although the pages is 0, I can still proceed to manage these pages

Question > How to totally disable personal community pages for non-power-users , that is, should not even see the My-Community when I move over the My-Places

Show
shawaw added a comment - - Restricted to I set the below in portal-ext.properties layout.user.private.layouts.power.user.required=true layout.user.public.layouts.power.user.required=true I then login as a non-power-user, if I move over the My-Places, I can still see the PUBLIC and PRIVATE page links under My-Community. Although the pages is 0, I can still proceed to manage these pages Question > How to totally disable personal community pages for non-power-users , that is, should not even see the My-Community when I move over the My-Places

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: