Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Luca Costa
[RESOLVED] My community only for Power User troubles...
June 17, 2008 1:35 AM
Answer

Luca Costa

Rank: Junior Member

Posts: 72

Join Date: March 5, 2008

Recent Posts

Hi,
I'm working on tomcat6, liferay 5.0.2-trunk

In my site I want "Power User" have public pages, [my community public pages]
and I want normal user have only guest pages.

In portal-ext i set:

#Set up default role names.
admin.default.role.names=User

But now the newbie registered user have also "my community" pages.


So I change other properties: [default user layouts]
layout.user.private.layouts.enabled=false
layout.user.private.layouts.modifiable=false
layout.user.private.layouts.auto.create=false
layout.user.public.layouts.enabled=false
layout.user.public.layouts.modifiable=false
layout.user.public.layouts.auto.create=false

but the change also "hides" "my community" for the omniadmin and Power User.

How can I enable only "power user".public layouts? and not for users?

I have created an issue even if I'm not sure this is a bug: LEP-6290

thank you to all!
Luca

P.S. just tried a new setting, applying to new registered users no roles:

#Set up default role names.
admin.default.role.names=

but also users without any role they have "My Community"
[but they have no access to portlets]
Luca Costa
RE: My community only for Power User troubles...
June 17, 2008 1:34 AM
Answer

Luca Costa

Rank: Junior Member

Posts: 72

Join Date: March 5, 2008

Recent Posts

Gavin propose the solution to modify some classes to have the same behaviour of the version 4.
[see the problem link in my previous post, modification are very simple]

But in this case I prefer to not touch code, so i found a workaround for my "little power users":

I will remove "my community" pages via configuration - portal.properties,
then create a community for each of them with the "friendly" name they want,
and give them administrative rights on the community.

portal.properties:
layout.user.private.layouts.enabled=false
layout.user.private.layouts.modifiable=false
layout.user.private.layouts.auto.create=false
layout.user.public.layouts.enabled=false
layout.user.public.layouts.modifiable=false
layout.user.public.layouts.auto.create=false

I hope this can be useful for you.