Description
----Original Message----
From: Brad Westness
Sent: Thursday, June 12, 2014 1:19 PM
To: Chris Hyzer
Cc: grouper-users
Subject: Re: [grouper-users] Issue with DeleteMembers web service when acting as user with Update privilege
That'd be great!
Thanks,
-Brad
On Thursday, June 12, 2014 12:15:22 PM, Chris Hyzer wrote:
> It is a bug, I can give you a patch if you like...
>
> ----Original Message----
> From: Brad Westness westness@wisc.edu
> Sent: Thursday, June 12, 2014 1:14 PM
> To: Chris Hyzer
> Cc: grouper-users@internet2.edu
> Subject: Re: [grouper-users] Issue with DeleteMembers web service when acting as user with Update privilege
>
> Ah yep, looks like if they're both an Updater and a Reader it does the
> removal correctly. I'll have to follow up with my team to determine
> if/how we want to implement this workaround.
>
> Thanks,
>
>
> –
> Brad Westness
> Web Applications Developer
> University of Wisconsin | DoIT | Web and Mobile Solutions (WaMS)
> 608.890.3934
>
>
> On Thursday, June 12, 2014 12:00:36 PM, Chris Hyzer wrote:
>> Yeah, probably, what happens if the Updater is also a Reader? JOr will
>> that not work for you?
>>
>> Thanks,
>>
>> Chris
>>
>> Sent: Thursday, June 12, 2014 12:57 PM
>> To: grouper-users
>> Subject: [grouper-users] Issue with DeleteMembers web service when
>> acting as user with Update privilege
>>
>> Hello,
>>
>> I'm receiving a result code of "SUCCESS_WASNT_IMMEDIATE" when
>> attempting to remove members from a group while acting as a user that
>> is in the Updater privilege for the group (with no other privileges).
>> The member I'm attempting to remove /is/ a direct member, verified
>> through the Grouper UI.
>>
>> Here's the request I'm sending:
>>
>> POST:
>> /grouper-ws/servicesRest/v2_1_5/groups/u%3anetid%3adaconner%3aa_update_only/members
>>
>> {
>> "WsRestDeleteMemberRequest": {
>> "actAsSubjectLookup":
,
>> "subjectLookups": [
>>
>> ]
>> }
>> }
>>
>>
>> And here's the response:
>>
>> {
>> "WsDeleteMemberResults": {
>> "responseMetadata":
,
>> "resultMetadata":
,
>> "results": [
>> {
>> "resultMetadata":
,
>> "wsSubject":
>> }
>> ],
>> "wsGroup":
>> }
>> }
>>
>> Meanwhile, if I add the same member to a group of which the
>> "actAsSubject" user has the Admin privilege, it works:
>>
>> Request:
>>
>> POST:
>> /grouper-ws/servicesRest/v2_1_5/groups/u%3anetid%3adaconner%3aa_admin_only/members
>>
>> {
>> "WsRestDeleteMemberRequest": {
>> "actAsSubjectLookup":
,
>> "subjectLookups": [
>>
>> ]
>> }
>> }
>>
>> Response:
>> {
>> "WsDeleteMemberResults": {
>> "responseMetadata":
,
>> "resultMetadata":
,
>> "results": [
>> {
>> "resultMetadata":
,
>> "wsSubject":
>> }
>> ],
>> "wsGroup":
>> }
>> }
>>
>> I've tried using the DeleteMemberLite service too, with the same
>> results. Is this a bug?
>>
>> Thanks,
>>
>> –
>> Brad Westness
>> Web Applications Developer
>> University of Wisconsin | DoIT | Web and Mobile Solutions (WaMS)
>>
>
–
Brad Westness
Web Applications Developer
University of Wisconsin | DoIT | Web and Mobile Solutions (WaMS)