Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.1.2
-
None
-
None
Description
Hi,
I am using Grouper 2.1.2.
If I send in this JSON to the attributeAssignments RESTful
endpoint it works and I receive a list of attribute
assignments on the immediate membership:
{
"WsRestGetAttributeAssignmentsRequest":{
"actAsSubjectId":"GrouperSystem",
"attributeAssignType":"imm_mem",
"includeAssignmentsOnAssignments":"F",
"includeGroupDetail":"T",
"wsOwnerMembershipLookups" :[
]
}
}
But if I send in this JSON, which includes multiple membership
uuids, it fails:
{
"WsRestGetAttributeAssignmentsRequest":{
"actAsSubjectId":"GrouperSystem",
"attributeAssignType":"imm_mem",
"includeAssignmentsOnAssignments":"F",
"includeGroupDetail":"T",
"wsOwnerMembershipLookups" :[
,
{ "uuid":"4ea839c8b5ed4a519cbef121e39ec9e5:70c42e30bfe34638a60fcf522659f4a2" } ]
}
}
When it fails I receive this:
{
"WsGetAttributeAssignmentsResults": {
"responseMetadata":
,
"resultMetadata":
}
}
The documentation at
https://spaces.internet2.edu/display/Grouper/Get+Attribute+Assignments
says "Accepts multiple groups or subjects or memberhipIds (or
combination) etc to retrieve lists of attribute assignments".
That statement led me to think that I could send in multiple
immediate membership uuids.
What have I done wrong?
Thanks,
Scott