Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper loader, GrouperLoaderGroupQuery, GrouperLoaderAndGroup

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper loader, GrouperLoaderGroupQuery, GrouperLoaderAndGroup


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Arnaud Deman <>, "" <>
  • Subject: RE: [grouper-users] Grouper loader, GrouperLoaderGroupQuery, GrouperLoaderAndGroup
  • Date: Tue, 15 Mar 2011 06:14:26 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

Yikes, that is a bug with privs. Thanks for bringing it to my attention:

https://bugs.internet2.edu/jira/browse/GRP-579

It is fixed in the 1.6 branch, can you get the latest code from svn for the
1.6 branch and build it for your loader? If not, I can send you a jar.

The test for this is here:

https://spaces.internet2.edu/display/Grouper/Grouper+loader+example+with+privileges

The require groups means if you put a group name in there (e.g.
school:community:employee) then it will "and" that group with the member list
from the loader. So only members of the group from the loader query who are
also employees will be in the resulting group

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Arnaud Deman
Sent: Friday, March 11, 2011 12:54 PM
To:

Subject: [grouper-users] Grouper loader, GrouperLoaderGroupQuery,
GrouperLoaderAndGroup

Hello,

I am testing the Grouper Loader and I have somme difficulties with these
two attributes.

For my tests I am using the table subjectattributes with this kind of records
:

subjectId name value
uportal_user monAttribut Valeur A
test_subject_0 monAttribut Valeur B
test_subject_2 monAttribut Valeur C

My query associated to the attribute GrouperLoaderGroupQuery is :

select concat('esup:groupes_auto:test_listes:',trim(value)) as group_name,
concat('Groupe auto Attribut ',value) as group_display_name,
concat('monAttribut=', value) as group_description,
concat('esup:groupes_auto:test_listes:',trim(value)) as readers
from subjectattribute where name='monAttribut'

The privilege part doesn't work : I am trying to grant the read
privilege to the group itself but it is always granted to the group
associated to "Valeur A". The rest of the query, name, display name,etc.
works fine.

Regarding the Attribute GrouperLoaderAndGroup, could someone give me
an example in order to understand what it does and how to set it ?

Thanks in advance,
Best regards,



--
Arnaud Deman
04 91 28 85 25
DSI - Université Paul Cézanne Aix-Marseille III
Avenue Escadrille Normandie-Niemen
13397 MARSEILLE CEDEX 20




Archive powered by MHonArc 2.6.16.

Top of Page