Fórum

5-level hierarchical group structure in liferay

diego gabriele, modificado 7 Anos atrás.

5-level hierarchical group structure in liferay

New Member Postagens: 20 Data de Entrada: 29/12/14 Postagens Recentes
1st level group is made of x groups of 2nd level group
each 2ns level group is made of y groups of 3rd level group
.....etc....

How would you model this using liferay framework?

Thanks
diego gabriele, modificado 7 Anos atrás.

RE: 5-level hierarchical group structure in liferay

New Member Postagens: 20 Data de Entrada: 29/12/14 Postagens Recentes
think i will model this with organizations and suborganizations :-)
thumbnail
Andrew Jardine, modificado 7 Anos atrás.

RE: 5-level hierarchical group structure in liferay

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
I am pretty sure that is the correct way to do it. One thing to be aware of though, the term "group" in liferay is normally how you refer to a "site". Just wanted to share that (in case you weren't aware) so that if you post in the forums again in the future you're using the same terminology the community is used to. Otherwise, you might end up getting odd responses emoticon
diego gabriele, modificado 7 Anos atrás.

RE: 5-level hierarchical group structure in liferay

New Member Postagens: 20 Data de Entrada: 29/12/14 Postagens Recentes
i used to think to a community as a collection of pages vs user group is a collection of users.
thumbnail
Andrew Jardine, modificado 7 Anos atrás.

RE: 5-level hierarchical group structure in liferay

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
Hi Diego,

That's true, but don't forget that individual users can be assigned to "communities" (now referred to as sites) as well. So I would say that your train f thought is definitely correct, but you can also, in a way, group users under sites. You also have to remember that content is scoped by site as well. So really, a community or site as it is now referred to (starting in Liferay 6.o or 6.1 I believe) is a mechanism for grouping assets and some settings into a scope that is one level lower than a portal instance. I can have User A and User B assigned to Site A ... and User C assigned to Site C. I can use this mechanism (in the API) to group users -- but it's a pretty silly way to do it of course, and we should use User Groups and Roles for such things emoticon.