Fórum

Difference between Private Pages and Public Pages

thumbnail
Yves LeGrand, modificado 12 Anos atrás.

Difference between Private Pages and Public Pages

Regular Member Postagens: 156 Data de Entrada: 18/11/09 Postagens Recentes
Hi at all.

Very often I am facing the question, what are the Public Pages and what are the Private Pages?
In more detail: What is the exactly technical difference between the Public Pages and the Private Pages?

I know I can set the permissions of a page such the page is not visible for the guest user. As far as I understand, this Public Page is now the same as a Private Page, isn't it?

But maybe I forget important aspects about these type of pages. Are there some more things which differ between public and private pages?

Thanks a lot.

Best wishes,
Yves
thumbnail
Jignesh Vachhani, modificado 12 Anos atrás.

RE: Difference between Private Pages and Public Pages

Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
I am seeing the main difference,
Public pages can be accessible by everyone i mean guest users (According to permissions) but no any public user can view private page user must have to login to access this page.
thumbnail
Tanaji Londhe, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

Regular Member Postagens: 194 Data de Entrada: 25/04/12 Postagens Recentes
Hey your saying that is right, but what about the user which is related to the particular Organization?
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I know I can set the permissions of a page such the page is not visible for the guest user. As far as I understand, this Public Page is now the same as a Private Page, isn't it?


No. There is a flag in layout table to distinguish between public and private pages. That is, pages can be distinguished by their groupid, parentLayoutid, and by whether they are private or public.

Look as LayoutLocalServiceUtil.getLayouts(long groupId, boolean privateLayout, long parentLayoutId)
thumbnail
Sachin Mane, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

Junior Member Postagens: 76 Data de Entrada: 10/04/12 Postagens Recentes
Every entity in liferay has a set of Public and Private pages-

1. User
a. Public page - Visible to everyone
b. Private page - Only the owner user can see his private page.
2. Community
a. Public page - Visible to members + non-members
b. Private page - Visible to only members
3. Organization
a. Public page - Visible to members + non-members
b. Private page - Visible to only members.
4. Portal instance
a. Public page - All users connected to this portal instance can see
b. Private pages - All users logged in into this portal instance can see.

In liferay 6.1, the concept of community is removed and all we create a Site. A site has a set of public and private pages and there can be a site for each of the above entity.
thumbnail
Oliver Bildesheim, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

New Member Postagens: 9 Data de Entrada: 28/04/09 Postagens Recentes
Hello all

Is it correct, that i can only use page permissions to control access to public page, but access to private pages is granted to all registered and logged on users?

Regards,
Oliver
thumbnail
Mika Koivisto, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

Liferay Legend Postagens: 1519 Data de Entrada: 07/08/06 Postagens Recentes
Private pages are only visible to members of the group regardless of any other permissions where as public pages are by default visible to everyone though you can remove permissions so that they are only visible to members. Private pages also requires the user to be logged in because of the requirement that they are only shown to members.
thumbnail
Oliver Bildesheim, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

New Member Postagens: 9 Data de Entrada: 28/04/09 Postagens Recentes
Hi Mika

Mika Koivisto:
Private pages are only visible to members of the group regardless of any other permissions


"regardless of any other permissions" - so the "page permission" configuration is only relevant (out-of-the-box) for public pages? Thanks!

Regards,
Oliver
thumbnail
Mika Koivisto, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

Liferay Legend Postagens: 1519 Data de Entrada: 07/08/06 Postagens Recentes
Well the permissions do affect private pages too but you have to be a member before you can see them so you can still hide some private pages from members but not administrators.
Oliver Bildesheim, modificado 11 Anos atrás.

RE: Difference between Private Pages and Public Pages

New Member Postagens: 2 Data de Entrada: 28/11/11 Postagens Recentes
When i remove the view permission from the site member role for a page, the page still is available as well in the (private) navigation as using its user-friendly URL. How could i hide a private page for a specific site role?
Julien Parmentier, modificado 7 Anos atrás.

RE: Difference between Private Pages and Public Pages

New Member Postagens: 2 Data de Entrada: 05/09/16 Postagens Recentes
I'm using Liferay 7.0 GA2/GA3 and i'm facing the same problem for private page :
Permission page on portlet in a private page seems to be ignored.
need help, modificado 7 Anos atrás.

RE: Difference between Private Pages and Public Pages

New Member Postagens: 2 Data de Entrada: 07/09/16 Postagens Recentes
Julien Parmentier:
Permission page on portlet in a private page seems to be ignored.


I have exactly the same problem. Please help