Fórumok

[solved] Organization membership policy

juju bou, módosítva 13 év-val korábban

[solved] Organization membership policy

Junior Member Bejegyzések: 44 Csatlakozás dátuma: 2010.02.11. Legújabb bejegyzések
Hi guys,
I'm migrating my LR 6.0.5 to 6.0.6 and I found a new parameter in the method OrganizationLocalServiceUtil.addOrganization

This new parameter is "membershipPolicy" which can be OrganizationConstants.MEMBERSHIP_POLICY_STRONG or OrganizationConstants.MEMBERSHIP_POLICY_WEAK


What is this new parameter and what is the difference between the 2 possible values ?

Thx
juju bou, módosítva 13 év-val korábban

RE: Organization membership policy

Junior Member Bejegyzések: 44 Csatlakozás dátuma: 2010.02.11. Legújabb bejegyzések
after investigation,
the membership_policy parameter is used in addOrganization when the group is created :
Group group = groupLocalService.addGroup(
			userId, Organization.class.getName(), organizationId, name, null,
			membershipPolicy, null, true, null);


So it means it should one the values from GroupConstants.TYPE_COMMUNITY_*******




But I still don't know why we need that...
juju bou, módosítva 12 év-val korábban

RE: Organization membership policy (Válasz)

Junior Member Bejegyzések: 44 Csatlakozás dátuma: 2010.02.11. Legújabb bejegyzések
looks like it's not anymore in 6.0.6
emoticon