grouper-users - Re: [grouper-users] stemAdmin vs stem privilege
Subject: Grouper Users - Open Discussion List
List archive
- From: Julio Polo <>
- To: "Black, Carey M." <>
- Cc: Grouper-Users <>
- Subject: Re: [grouper-users] stemAdmin vs stem privilege
- Date: Fri, 8 May 2020 16:54:39 -1000
Julio,
I have no idea if this will work or make anything better….
However, I am curious if you change the endpoint that you were calling in the WS call?
Can you use the “old endpoint” and get the expected “old formatted” result? ( I think that might still work…..)
Meaning.. if you ask the v2.5 API it will give you a v2.5 answer.
If you ask the v2.2 API it should give you a v2.2 answer.
Just a thought, and I have no idea if it would work as I expect it too. ( Shrug. YMMV )
Also it may or may not help.. but I try to hold to this page for “definitions in Grouper terms”: https://spaces.at.internet2.edu/display/Grouper/Glossary
--
Carey Matthew
From: <> On Behalf Of Julio Polo
Sent: Friday, May 8, 2020 9:31 PM
To: Grouper-Users <>
Subject: [grouper-users] stemAdmin vs stem privilege
We're testing the WS for Grouper 2.5. Has the 'stem' naming privilege been changed to 'stemAdmin' after Grouper 2.2?
We noticed an unexpected response from the 2.5 WS. We would send 'stem' as the naming privilege to assign, but the WS returns 'stemAdmin' as what was actually set.
Shall we stop using 'stem' and use 'stemAdmin' instead?
Here are the relevant portions of the HTTP request and response:
<WsRestAssignGrouperPrivilegesRequest>
<replaceAllExisting>F</replaceAllExisting>
<allowed>T</allowed>
<wsStemLookup>
<stemName>tmp:foobar</stemName>
</wsStemLookup>
<privilegeType>naming</privilegeType>
<privilegeNames>
<string>stem</string>
<string>create</string>
</privilegeNames>
<wsSubjectLookups>
<WsSubjectLookup>
<subjectId>1234567890</subjectId>
</WsSubjectLookup>
</wsSubjectLookups>
</WsRestAssignGrouperPrivilegesRequest>
Here's a pretty-printed version of the XML we got back:
{
'wsSubject' => {
'success' => 'T',
'resultCode' => 'SUCCESS',
'name' => 'test person',
'id' => '1234567890'
},
'privilegeName' => 'stemAdmin',
'resultMetadata' => {
'success' => 'T',
'resultCode' => 'SUCCESS_ALLOWED'
},
'privilegeType' => 'naming'
},
{
'wsSubject' => {
'success' => 'T',
'resultCode' => 'SUCCESS',
'name' => 'test person',
'id' => '1234567890'
},
'privilegeName' => 'create',
'resultMetadata' => {
'success' => 'T',
'resultCode' => 'SUCCESS_ALLOWED'
},
'privilegeType' => 'naming'
}
];
Thanks.
Julio Polo
University of Hawaii
- [grouper-users] stemAdmin vs stem privilege, Julio Polo, 05/09/2020
- RE: [grouper-users] stemAdmin vs stem privilege, Black, Carey M., 05/09/2020
- Re: [grouper-users] stemAdmin vs stem privilege, Julio Polo, 05/09/2020
- RE: [grouper-users] stemAdmin vs stem privilege, Black, Carey M., 05/09/2020
- Re: [grouper-users] stemAdmin vs stem privilege, Julio Polo, 05/11/2020
- RE: [grouper-users] stemAdmin vs stem privilege, Hyzer, Chris, 05/14/2020
- Re: [grouper-users] stemAdmin vs stem privilege, Julio Polo, 05/11/2020
- RE: [grouper-users] stemAdmin vs stem privilege, Black, Carey M., 05/09/2020
- Re: [grouper-users] stemAdmin vs stem privilege, Julio Polo, 05/09/2020
- RE: [grouper-users] stemAdmin vs stem privilege, Black, Carey M., 05/09/2020
Archive powered by MHonArc 2.6.19.