grouper-users - RE: [grouper-users] assignPermissions
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: mohan shamachar <>, "" <>
- Subject: RE: [grouper-users] assignPermissions
- Date: Thu, 7 Feb 2013 13:17:47 +0000
- Accept-language: en-US
Here is the doc:
https://spaces.internet2.edu/display/Grouper/Assign+Permissions
Here is the sample for an XML non-lite operation
http://anonsvn.internet2.edu/viewvc/viewvc.py/i2mi/trunk/grouper-ws/grouper-ws/doc/samples/assignPermissions/WsSampleAssignPermissionsRest_xml.txt?revision=8390&view=co
Looks like it is "permissionAssignments", not "assignPermissions" :)
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of mohan shamachar
Sent: Thursday, February 07, 2013 12:49 AM
To:
Subject: [grouper-users] assignPermissions
Hi Chris,
I'm trying to assign permission to a role by calling the web-service REST
method assignPermissions.
It does not appear to recognize the method.
Here's what the error says:
2013-02-06 19:49:17,019: [http-8080-5] ERROR GrouperRestServlet.service(211) -
- Cant find GrouperWsRestPut from string: 'assignPermissions', expecting one
of: groups, stems, attributeAssignments, grouperPrivileges, members,
permissionAssignments, attributeDefNames, , uri:
/grouper-ws/servicesRest/json/v2_1_002/assignPermissions, method: POST,
decoded url strings: 0: 'json', 1: 'v2_1_002', 2: 'assignPermissions'
edu.internet2.middleware.grouper.ws.rest.GrouperRestInvalidRequest: Cant find
GrouperWsRestPut from string: 'assignPermissions', expecting one of: groups,
stems, attributeAssignments, grouperPrivileges, members,
permissionAssignments, attributeDefNames
Here's my request parameters:
<WsRestAssignPermissionsRequest><permissionAssignOperation>assign_permission</
permissionAssignOperation><permissionType>role</permissionType><permissionDefN
ameLookups><WsAttributeDefNameLookup><uuid></uuid><name>app:permissions:level1
permission</name></WsAttributeDefNameLookup></permissionDefNameLookups><roleLo
okups><WsGroupLookup><groupName>mojo:role1</groupName></WsGroupLookup></roleLo
okups><actions><string>write</string></actions></WsRestAssignPermissionsReques
t>
Thanks for your help.
best,
mohan
- [grouper-users] assignPermissions, mohan shamachar, 02/07/2013
- RE: [grouper-users] assignPermissions, Chris Hyzer, 02/07/2013
- Re: RE: [grouper-users] assignPermissions, mohan shamachar, 02/07/2013
- RE: RE: [grouper-users] assignPermissions, Chris Hyzer, 02/07/2013
- Re: RE: RE: [grouper-users] assignPermissions, mohan shamachar, 02/07/2013
- RE: RE: RE: [grouper-users] assignPermissions, Chris Hyzer, 02/07/2013
- Re: RE: RE: RE: [grouper-users] assignPermissions, mohan shamachar, 02/07/2013
- RE: RE: RE: RE: [grouper-users] assignPermissions, Chris Hyzer, 02/07/2013
- Re: RE: RE: RE: RE: [grouper-users] assignPermissions, mohan shamachar, 02/08/2013
- Re: RE: RE: RE: [grouper-users] assignPermissions, mohan shamachar, 02/07/2013
- RE: RE: RE: [grouper-users] assignPermissions, Chris Hyzer, 02/07/2013
- Re: RE: RE: [grouper-users] assignPermissions, mohan shamachar, 02/07/2013
- RE: RE: [grouper-users] assignPermissions, Chris Hyzer, 02/07/2013
- Re: RE: [grouper-users] assignPermissions, mohan shamachar, 02/07/2013
- RE: [grouper-users] assignPermissions, Chris Hyzer, 02/07/2013
Archive powered by MHonArc 2.6.16.