掲示板

Site Membership for all authenticated Users

thumbnail
8年前 に Indranil Bose によって更新されました。

Site Membership for all authenticated Users

Junior Member 投稿: 37 参加年月日: 14/05/07 最新の投稿
I have a custom site, let's say "MyForum". The requirement is that all the authenticated Users should have membership to this Site by default. I am using Liferay 6.2 ga4. And my Liferay Portal is connected to a LDAP server (ApacheDS). All the Users are coming from that LDAP server. The site "MyForum" is set to "open" Membership Types. Now, how will I be able to achieve this, that any User logging in to the Portal (authenticated User) should be member to this Site by default (without any additional step to be done)?
I have tried through User Groups too. I already created a User group "MyForumGroup" and have associated it as a member Group of the Site. But everytime a new User is created in LDAP server, I have to make the User a member of this Group so that, in turn the User becomes a member of this Site. But this step cannot be repeated all the time.
Is there a way by which all the authenticated User could be a member of a User Group?
I have to achieve a way by which all authenticated Users will be a member to the Site OR at least, all authenticated Users will be a member Group and consequently member of the Site.

Thanks in advance.
thumbnail
8年前 に David H Nebinger によって更新されました。

RE: Site Membership for all authenticated Users

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Why not just use a login pre/post processor to add membership to the site if the user doesn't have it?
thumbnail
8年前 に Indranil Bose によって更新されました。

RE: Site Membership for all authenticated Users

Junior Member 投稿: 37 参加年月日: 14/05/07 最新の投稿
Yes that's a way to do it, I am yet to try that. I was just looking for a way, if there is any, without customizations (hooks), just by any properties or configurations. If there is none that way then I'll surely go with hooks.
Anyway thanks David.emoticon
thumbnail
8年前 に Sandeep Nair によって更新されました。

RE: Site Membership for all authenticated Users (回答)

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Go to Control Panel -> Portal Settings -> Default User Associations. You will see option to specify Sites to which you want users to be associated by default.

Regards,
sandeep
thumbnail
8年前 に Indranil Bose によって更新されました。

RE: Site Membership for all authenticated Users

Junior Member 投稿: 37 参加年月日: 14/05/07 最新の投稿
Sandeep Nair:
Go to Control Panel -> Portal Settings -> Default User Associations. You will see option to specify Sites to which you want users to be associated by default.

Regards,
sandeep


Thanks Sandeep emoticon

That's the exact thing I was looking for emoticon
thumbnail
8年前 に Dikie Rendra Aditya によって更新されました。

RE: Site Membership for all authenticated Users

New Member 投稿: 14 参加年月日: 09/03/11 最新の投稿
Hi Sandeep,

I'm looking for similar solution, however I can't see Default User Associations in Portal Settings. I'm using Liferay 6.1.0 CE GA 1, is this configuration not available in this?

Thanks.
thumbnail
8年前 に David H Nebinger によって更新されました。

RE: Site Membership for all authenticated Users

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Dikie Rendra Aditya:
I'm using Liferay 6.1.0 CE GA 1


That's your mistake. Choosing to stay on an older, known buggy version is the choice you made and, until you upgrade to the latest GA in the 6.1 line, it's a choice you're stuck with and will have to live with.

6.1 has GA 3 available which includes bug fixes, performance fixes and security fixes, all without changing underlying API signatures which would otherwise affect your custom code.

Choosing not to use the latest GA makes no sense at all, especially since it's been out for over a year now.
6年前 に santhosh kumar によって更新されました。

RE: Site Membership for all authenticated Users

New Member 投稿: 19 参加年月日: 17/04/12 最新の投稿
Hi Sandeep,

I'm looking for similar solution, how assign site membership to user group and how assign role to user group

Thanks
thumbnail
6年前 に Olaf Kock によって更新されました。

RE: Site Membership for all authenticated Users

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
santhosh kumar:
I'm looking for similar solution, how assign site membership to user group and how assign role to user group


You forgot to link to the post where you're looking for this information
6年前 に santhosh kumar によって更新されました。

RE: Site Membership for all authenticated Users

New Member 投稿: 19 参加年月日: 17/04/12 最新の投稿
Olaf Kock:
santhosh kumar:
I'm looking for similar solution, how assign site membership to user group and how assign role to user group


You forgot to link to the post where you're looking for this information



emoticon