Foren

Visualización de contenidos de Organización Padre

Juan Rafael Ramírez Toledano, geändert vor 10 Jahren.

Visualización de contenidos de Organización Padre

New Member Beiträge: 6 Beitrittsdatum: 07.11.12 Neueste Beiträge
Hola, buenas tardes.

Trabajando con LifeRay 6.1 con Social 2, me surge un problema.

Las organizaciones hijos creadas a partir de organizaciones padre, tienen visibilidad de los contenidos de sus padres. Quisiera quitar esta propiedad, y creo que se puede hacer en el portal-ext.properties.

¿Me pueden ayudar por favor?

Muchas gracias. Un saludo.
thumbnail
Jesse Rao, geändert vor 10 Jahren.

RE: Visualización de contenidos de Organización Padre

Junior Member Beiträge: 58 Beitrittsdatum: 12.07.10 Neueste Beiträge
I think you might be looking for this property:

#
# Set this property to true if you want users to only be members of the
# organizations to which they are assigned explicitly. By default they will
# also become implicit members of the ancestors of those organizations.
# for example if a user belongs to Liferay Spain he will implicitly be a
# member of the ancestors Liferay Europe and Liferay Global and will be
# able to access their private pages.
#
organizations.membership.strict=false

You can browse through the Organizations section of Liferay's portal.properties file if this is not what you're looking for. There's an online version here: http://docs.liferay.com/portal/6.1/propertiesdoc/portal.properties.html#Organizations
Juan Rafael Ramírez Toledano, geändert vor 10 Jahren.

RE: Visualización de contenidos de Organización Padre

New Member Beiträge: 6 Beitrittsdatum: 07.11.12 Neueste Beiträge
Dear Jese.

What I want is that members of sites children can not access parent sites.

Thank you very much again.
thumbnail
Jesse Rao, geändert vor 10 Jahren.

RE: Visualización de contenidos de Organización Padre

Junior Member Beiträge: 58 Beitrittsdatum: 12.07.10 Neueste Beiträge
Are you asking about Liferay 6.1 or Liferay 6.2? Hierarchical sites are a new feature of Liferay 6.2: https://issues.liferay.com/browse/LPS-27158

By default, in Liferay 6.2, hierarchical sites behave the way you describe. If a user (Joe Bloggs) is a member of a child site (Liferay Spain) but not of the parent site (Liferay) then Joe Bloggs can access Liferay Spain but not Liferay. Of course, by "access" I mean be able to visit the site's private pages. All users can visit a site's public pages.
Juan Rafael Ramírez Toledano, geändert vor 10 Jahren.

RE: Visualización de contenidos de Organización Padre

New Member Beiträge: 6 Beitrittsdatum: 07.11.12 Neueste Beiträge
Liferay Portal Community Edition 6.1.1 CE GA2
thumbnail
Jesse Rao, geändert vor 10 Jahren.

RE: Visualización de contenidos de Organización Padre

Junior Member Beiträge: 58 Beitrittsdatum: 12.07.10 Neueste Beiträge
In Liferay 6.1, sites can't be organized hierarchically, only organizations can. However, sites can be attached to organizations. I think your best bet might be to set organizations.membership.strict=true and use attached sites for whichever organizations need sites.

For example, you could have an Organization called "Liferay" and a suborganization called "Liferay Spain." Each of these organizations can have an attached site. A member of the Liferay Spain organization (who is not a member of the Liferay organization) should not be able to access the Liferay site.
Juan Rafael Ramírez Toledano, geändert vor 10 Jahren.

RE: Visualización de contenidos de Organización Padre

New Member Beiträge: 6 Beitrittsdatum: 07.11.12 Neueste Beiträge
I have set organizations.membership.strict = true in the portal-ext.properties and a member of the organization Liferay Spain (which is not a member of the organization Liferay) can still access the Liferay site.

???
Marcos Laurito, geändert vor 9 Jahren.

RE: Visualización de contenidos de Organización Padre

Junior Member Beiträge: 99 Beitrittsdatum: 18.04.13 Neueste Beiträge
Me sumo a la discusión.
Yo tengo la propiedad organizations.membership.strict en false pero no puedo lograr que los usuarios de las organizaciones hijas tengan acceso automático a las páginas privadas de las organizaciones padres.
Alguien me ayuda?