Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
adam tang
Taking away or giving away Personal Public Page
January 14, 2011 5:20 PM
Answer

adam tang

Rank: Junior Member

Posts: 36

Join Date: April 21, 2009

Recent Posts

Dear Liferay friends,

I am going to use Liferay as communication channel for my church.

Every newly register user's public page will not be viewable by anyone unless I add a permission directly or indirectly through either Role or User Group or else. This is to prevent non-leader user posting inappropriate content on their public page.

I need to make this requirement simple as the team who is going to manage the portal are not so strong in IT. That means less click / tick the better.

Thank you very much for any suggestion.

Keep in touch.

Adam Tang.
Szymon Gołębiewski
RE: Taking away or giving away Personal Public Page
January 15, 2011 6:20 AM
Answer

Szymon Gołębiewski

Rank: Regular Member

Posts: 247

Join Date: June 8, 2009

Recent Posts

You can do it by removing VIEW permission for all roles for the public page. You can add new public pages with such set of permissions by using site / page templates (in Control Panel).
adam tang
RE: Taking away or giving away Personal Public Page
January 17, 2011 12:06 AM
Answer

adam tang

Rank: Junior Member

Posts: 36

Join Date: April 21, 2009

Recent Posts

Dear Szymon Gołębiewski,

Do you mean taking away view permission from community public pages?

My requirement is to let no one will be able to see newly register user's public page unless someone add him / her a role or user group or something that carry the permission.

Thank you for your kind heart.

Dear ALL,

I just found out a better requirement but I don't know how to implement it inside Liferay portal.

1. a guest register and become an user
2. no one can see the user's public page
3. portal administrator add a role or user group and all ppl can see this user's public page
4. the user edit own public page
5. the user's public page cannot be seen again
6. portal administrator approve user's new public page
7. the user's public page can be seen again
8. the user being promoted by portal administrator
9. no approval needed for the user's public page to be seen by anyone after modification of portlet or web contenet.

Again, thank you for any suggestion.

Yours Truly,

Adam Tang.
Hitoshi Ozawa
RE: Taking away or giving away Personal Public Page
January 17, 2011 2:26 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

You mentioned making it operation simple but the workflow feature in Liferay 6 may be the thing you're actually looking for. Users would be able to make changes but before the created/modified content is actually displayed to the public, the content would have to be approved (in your case probably by the leader).
Szymon Gołębiewski
RE: Taking away or giving away Personal Public Page
January 18, 2011 3:59 PM
Answer

Szymon Gołębiewski

Rank: Regular Member

Posts: 247

Join Date: June 8, 2009

Recent Posts

adam tang:

My requirement is to let no one will be able to see newly register user's public page unless someone add him / her a role or user group or something that carry the permission.


If you will use page template for new user public page no one will be able to see that user public page from start.

adam tang:

I just found out a better requirement but I don't know how to implement it inside Liferay portal.

1. a guest register and become an user
2. no one can see the user's public page
3. portal administrator add a role or user group and all ppl can see this user's public page
4. the user edit own public page
5. the user's public page cannot be seen again
6. portal administrator approve user's new public page
7. the user's public page can be seen again
8. the user being promoted by portal administrator
9. no approval needed for the user's public page to be seen by anyone after modification of portlet or web contenet.

You can use Staging feature (with editorial stage) for that requirement.
adam tang
RE: Taking away or giving away Personal Public Page
January 18, 2011 6:42 PM
Answer

adam tang

Rank: Junior Member

Posts: 36

Join Date: April 21, 2009

Recent Posts

Dear Szymon Gołębiewski,

Thank you again for your advice.

Strange, I create page template (with a translation portlet on page), site template (with public page and private page set to created page tmplate), and a user group containing the site template.

page template : restrictedPageTemplate
site template : restrictedSiteTemplate
user group : restrictedUserGroup

and put the restrictedUserGroup in the default user group associated for new user.

I have also create a role called RestrictedUser, remove the Power User and User from default roles associated, put only RestrictedUser in it.

after I create a new user using "create account" on portal welcome page, after I choose my secret answer. Strangely

1. I can add pages, add portlets.

afer logout

2. I can see the new user public page by typing http://abc.dyndns.org:8080/web/newuser

I am using latest tomcat bundled from Liferay.com download page.
adam tang
RE: Taking away or giving away Personal Public Page
February 2, 2011 4:36 PM
Answer

adam tang

Rank: Junior Member

Posts: 36

Join Date: April 21, 2009

Recent Posts

Dear Liferay Friends,

I have found no solution for my question yet.

Every new user's public page will not be seen by anyone except the user unless the administrator permit that particular user's public page to be seen.

I have tried advices given in this thread but didn't block the users and guests seeing the new users' public page.

Please help, I am very close to deadline already.