Skip to Content.
Sympa Menu

grouper-users - [grouper-users] xmlExport: export.group.members.immediate-only has no effect?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] xmlExport: export.group.members.immediate-only has no effect?


Chronological Thread 
  • From: Dominique Petitpierre <>
  • To: "" <>
  • Subject: [grouper-users] xmlExport: export.group.members.immediate-only has no effect?
  • Date: Mon, 11 Mar 2013 19:47:14 +0100
  • Authentication-results: sfpop-ironport02.merit.edu; dkim=neutral (message not signed) header.i=none
  • Organization: University of Geneva

Hello,

- Is it possible to export groups without their non immediate members?

Setting the property export.group.members.immediate-only to true does
not seem to have any effect: the output contains the non
immediate members, just like when it is set to false.

In a simple test where testuser is member of test:t:g1 and test:t:g1
is member of test:t:g2, after exporting test:t to t.xml with
a gsh script using xmlExport, one gets:

egrep "immediate='false'|members.immediate-only" t.xml
<subject id='testuser' type='person'
source='people-test.unige.ch' immediate='false'
<option key='export.group.members.immediate-only'>true</option>

The API doc says

export.group.members.immediate-only
If true only immediate group memberships will be exported.
cf. e.g.:
http://www.internet2.edu/grouper/release/1.6.0/doc/api/edu/internet2/middleware/grouper/xml/XmlExporter.html#XmlExporter%28edu.internet2.middleware.grouper.GrouperSession,%20java.util.Properties%29

This behavior occurs with both 1.6.3 and 2.1.3.


Best regards,
Dominique
--
Mr Dominique Petitpierre, user=Dominique.Petitpierre domain=unige.ch
IT Division, University of Geneva, Switzerland


  • [grouper-users] xmlExport: export.group.members.immediate-only has no effect?, Dominique Petitpierre, 03/11/2013

Archive powered by MHonArc 2.6.16.

Top of Page