Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Juan Rafael Ramírez Toledano
Visualización de contenidos de Organización Padre
October 7, 2013 7:28 AM
Answer

Juan Rafael Ramírez Toledano

Rank: New Member

Posts: 6

Join Date: November 7, 2012

Recent Posts

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.
Jesse Rao
RE: Visualización de contenidos de Organización Padre
October 7, 2013 8:06 AM
Answer

Jesse Rao

LIFERAY STAFF

Rank: Junior Member

Posts: 42

Join Date: July 12, 2010

Recent Posts

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
RE: Visualización de contenidos de Organización Padre
October 8, 2013 4:36 AM
Answer

Juan Rafael Ramírez Toledano

Rank: New Member

Posts: 6

Join Date: November 7, 2012

Recent Posts

Dear Jese.

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

Thank you very much again.
Jesse Rao
RE: Visualización de contenidos de Organización Padre
October 8, 2013 7:25 AM
Answer

Jesse Rao

LIFERAY STAFF

Rank: Junior Member

Posts: 42

Join Date: July 12, 2010

Recent Posts

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
RE: Visualización de contenidos de Organización Padre
October 8, 2013 7:55 AM
Answer

Juan Rafael Ramírez Toledano

Rank: New Member

Posts: 6

Join Date: November 7, 2012

Recent Posts

Liferay Portal Community Edition 6.1.1 CE GA2
Jesse Rao
RE: Visualización de contenidos de Organización Padre
October 8, 2013 11:28 AM
Answer

Jesse Rao

LIFERAY STAFF

Rank: Junior Member

Posts: 42

Join Date: July 12, 2010

Recent Posts

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
RE: Visualización de contenidos de Organización Padre
October 10, 2013 1:28 AM
Answer

Juan Rafael Ramírez Toledano

Rank: New Member

Posts: 6

Join Date: November 7, 2012

Recent Posts

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
RE: Visualización de contenidos de Organización Padre
May 23, 2014 12:52 PM
Answer

Marcos Laurito

Rank: Junior Member

Posts: 79

Join Date: April 18, 2013

Recent Posts

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?