Foros de discusión
Site Membership for all authenticated Users
Indranil Bose, modificado hace 8 años.
Site Membership for all authenticated Users
Junior Member Mensajes: 37 Fecha de incorporación: 7/05/14 Mensajes recientes
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.
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.
David H Nebinger, modificado hace 8 años.
RE: Site Membership for all authenticated Users
Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Why not just use a login pre/post processor to add membership to the site if the user doesn't have it?
Indranil Bose, modificado hace 8 años.
RE: Site Membership for all authenticated Users
Junior Member Mensajes: 37 Fecha de incorporación: 7/05/14 Mensajes recientes
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.
Anyway thanks David.
Sandeep Nair, modificado hace 8 años.
RE: Site Membership for all authenticated Users (Respuesta)
Liferay Legend Mensajes: 1744 Fecha de incorporación: 6/11/08 Mensajes recientes
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
Regards,
sandeep
Indranil Bose, modificado hace 8 años.
RE: Site Membership for all authenticated Users
Junior Member Mensajes: 37 Fecha de incorporación: 7/05/14 Mensajes recientesSandeep 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
That's the exact thing I was looking for
Dikie Rendra Aditya, modificado hace 8 años.
RE: Site Membership for all authenticated Users
New Member Mensajes: 14 Fecha de incorporación: 11/03/09 Mensajes recientes
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.
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.
David H Nebinger, modificado hace 8 años.
RE: Site Membership for all authenticated Users
Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientesDikie 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.
santhosh kumar, modificado hace 6 años.
RE: Site Membership for all authenticated Users
New Member Mensajes: 19 Fecha de incorporación: 12/04/17 Mensajes recientes
Hi Sandeep,
I'm looking for similar solution, how assign site membership to user group and how assign role to user group
Thanks
I'm looking for similar solution, how assign site membership to user group and how assign role to user group
Thanks
Olaf Kock, modificado hace 6 años.
RE: Site Membership for all authenticated Users
Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientessanthosh 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
santhosh kumar, modificado hace 6 años.
RE: Site Membership for all authenticated Users
New Member Mensajes: 19 Fecha de incorporación: 12/04/17 Mensajes recientesOlaf 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