grouper-users - RE: [grouper-users] getAttributeAssignment WS and scoping
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Scott Koranda <>, grouper-users <>
- Subject: RE: [grouper-users] getAttributeAssignment WS and scoping
- Date: Mon, 16 Apr 2012 18:55:31 +0000
- Accept-language: en-US
Hmm, I don't know why you get back all results, I will check that at some
point. I think you should get back no results. But I think if you are
checking memberships you need to pass in either
WsMembershipAnyLookup[] getWsOwnerMembershipAnyLookups()
to query attributes in "any" memberships which are on immediate or
effective memberships
-or-
WsMembershipLookup[] getWsOwnerMembershipLookups()
to query attributes on immediate memberships
instead of group and subject (which are not for membership attribute
assignments).
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Scott Koranda
Sent: Friday, April 13, 2012 7:14 PM
To: grouper-users
Subject: [grouper-users] getAttributeAssignment WS and scoping
Hi,
I sent into servicesRest/v2_1_000/attributeAssignments this JSON
{
"WsRestGetAttributeAssignmentsRequest":{
"actAsSubjectId":"GrouperSystem",
"attributeAssignType":"imm_mem",
"includeAssignmentsOnAssignments":"F",
"wsAttributeDefNameLookups":[
{
"name":"Reference:COmanageDataSource:test_membership_1"
},
{
"name":"Reference:COmanageDataSource:test_membership_2"
}
],
"wsOwnerGroupLookups":[
{
"name":"Reference:COmanageDataSource:COmanage:admin"
}
],
"wsOwnerSubjectLookups":[
{
"id":""
}
]
}
}
and expected to only receive back details about attribute
assignments for attributes test_membership_1 and test_membership_2 for
the subject/member
''
in the group
'Reference:COmanageDataSource:COmanage:admin'.
That is, I expected the 'wsOwnerGroupLookups' and
'wsOwnerSubjectLookups' to scope the query.
Instead I am receiving all attribute assignments for
test_membership_[12] across all groups/subjects.
How can I scope the query?
Thanks,
Scott
- [grouper-users] getAttributeAssignment WS and scoping, Scott Koranda, 04/13/2012
- RE: [grouper-users] getAttributeAssignment WS and scoping, Chris Hyzer, 04/16/2012
- Re: [grouper-users] getAttributeAssignment WS and scoping, Scott Koranda, 04/16/2012
- RE: [grouper-users] getAttributeAssignment WS and scoping, Chris Hyzer, 04/17/2012
- Re: [grouper-users] getAttributeAssignment WS and scoping, Scott Koranda, 04/17/2012
- [grouper-users] Licence Grouper, Brigitte Wallaert Taquet, 04/17/2012
- RE: [grouper-users] Licence Grouper, Chris Hyzer, 04/17/2012
- RE: [grouper-users] Licence Grouper, Brigitte Wallaert Taquet, 04/18/2012
- RE: [grouper-users] Licence Grouper, Chris Hyzer, 04/18/2012
- RE: [grouper-users] Licence Grouper, Chris Hyzer, 04/18/2012
- RE: [grouper-users] Licence Grouper, Brigitte Wallaert Taquet, 04/19/2012
- Re: [grouper-users] Licence Grouper, Wallaert-Taquet Brigitte, 04/19/2012
- RE: [grouper-users] Licence Grouper, Chris Hyzer, 04/17/2012
- [grouper-users] Licence Grouper, Brigitte Wallaert Taquet, 04/17/2012
- Re: [grouper-users] getAttributeAssignment WS and scoping, Scott Koranda, 04/17/2012
- RE: [grouper-users] getAttributeAssignment WS and scoping, Chris Hyzer, 04/17/2012
- Re: [grouper-users] getAttributeAssignment WS and scoping, Scott Koranda, 04/16/2012
- RE: [grouper-users] getAttributeAssignment WS and scoping, Chris Hyzer, 04/16/2012
Archive powered by MHonArc 2.6.16.