grouper-users - [grouper-users] stemAdmin vs stem privilege
Subject: Grouper Users - Open Discussion List
List archive
- From: Julio Polo <>
- To: Grouper-Users <>
- Subject: [grouper-users] stemAdmin vs stem privilege
- Date: Fri, 8 May 2020 15:31:26 -1000
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>
<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'
}
];
'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.