Skip to Content.
Sympa Menu

grouper-users - [grouper-users] assignPermissions

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] assignPermissions


Chronological Thread 
  • From: mohan shamachar <>
  • To:
  • Subject: [grouper-users] assignPermissions
  • Date: Thu, 7 Feb 2013 00:49:21 -0500 (EST)

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



Archive powered by MHonArc 2.6.16.

Top of Page