Fórum

Assign members to a role using portal-ext.properties

Bodhayan Chakraborty, modificado 11 Anos atrás.

Assign members to a role using portal-ext.properties

New Member Postagens: 2 Data de Entrada: 07/06/12 Postagens Recentes
Hi,

Is there any way to assign users or groups to a particular role using portal-ext.properties file? The users and groups will be LDAP users and groups. I don't want to do it using Portal admin console.

Thanks,
Bodhayan.
thumbnail
Christianto Sahat, modificado 11 Anos atrás.

RE: Assign members to a role using portal-ext.properties

Regular Member Postagens: 179 Data de Entrada: 25/09/07 Postagens Recentes
I believe there's no way to do that.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Assign members to a role using portal-ext.properties

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I can only think of the following:

#
# Set this to true if the portal should automatically create a role per
# group imported from LDAP. The role will be assigned to the group so that
# users can automatically inherit that role when they are assigned to the
# group.
#
ldap.import.create.role.per.group=true