掲示板

5-level hierarchical group structure in liferay

7年前 に diego gabriele によって更新されました。

5-level hierarchical group structure in liferay

New Member 投稿: 20 参加年月日: 14/12/29 最新の投稿
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
7年前 に diego gabriele によって更新されました。

RE: 5-level hierarchical group structure in liferay

New Member 投稿: 20 参加年月日: 14/12/29 最新の投稿
think i will model this with organizations and suborganizations :-)
thumbnail
7年前 に Andrew Jardine によって更新されました。

RE: 5-level hierarchical group structure in liferay

Liferay Legend 投稿: 2416 参加年月日: 10/12/22 最新の投稿
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
7年前 に diego gabriele によって更新されました。

RE: 5-level hierarchical group structure in liferay

New Member 投稿: 20 参加年月日: 14/12/29 最新の投稿
i used to think to a community as a collection of pages vs user group is a collection of users.
thumbnail
7年前 に Andrew Jardine によって更新されました。

RE: 5-level hierarchical group structure in liferay

Liferay Legend 投稿: 2416 参加年月日: 10/12/22 最新の投稿
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.