Message Boards

5-level hierarchical group structure in liferay

diego gabriele, modified 7 Years ago.

5-level hierarchical group structure in liferay

New Member Posts: 20 Join Date: 12/29/14 Recent Posts
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, modified 7 Years ago.

RE: 5-level hierarchical group structure in liferay

New Member Posts: 20 Join Date: 12/29/14 Recent Posts
think i will model this with organizations and suborganizations :-)
thumbnail
Andrew Jardine, modified 7 Years ago.

RE: 5-level hierarchical group structure in liferay

Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
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, modified 7 Years ago.

RE: 5-level hierarchical group structure in liferay

New Member Posts: 20 Join Date: 12/29/14 Recent Posts
i used to think to a community as a collection of pages vs user group is a collection of users.
thumbnail
Andrew Jardine, modified 7 Years ago.

RE: 5-level hierarchical group structure in liferay

Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
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.