grouper-users - [grouper-users] RE: Assign Limit via web service
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: "Sachdeva, Vivek" <>
- Cc: "" <>
- Subject: [grouper-users] RE: Assign Limit via web service
- Date: Wed, 12 Feb 2014 20:18:36 +0000
- Accept-language: en-US
I don’t see a post to the list a few days ago. I think with limits it is best to find the permission assignment you are adding the limit to, and then to get the attributeAssignId of that, and then to set
that ownerAttributeAssignId as the owner. Then you don’t have to set any other owner fields, etc. Also, on a limit, the action must be “assign” or maybe blank. The limit has an owner which can have any action, but the action of the limit assignment is “assign”
or hopefully just blank. There should be something in the response body that has more information about how it is an invalid query. Or something in the logs of the WS server? Thanks Chris From: Sachdeva, Vivek [mailto:]
Hi Chris, I am trying to assign a limit via web service. I am trying it using WsSampleAssignAttributesWithValueRestLite class. I am getting INVALID_QUERY result code. I am trying different combination of parameters. Can you please help? I sent this email to the dev list a few days
ago but got no response. WsRestAssignAttributesLiteRequest wsRestAssignAttributesLiteRequest = new WsRestAssignAttributesLiteRequest(); wsRestAssignAttributesLiteRequest.setActAsSubjectId("GrouperSystem"); wsRestAssignAttributesLiteRequest.setAttributeAssignType("group"); wsRestAssignAttributesLiteRequest.setWsAttributeDefNameName("ucla:ucla_perms:CV"); wsRestAssignAttributesLiteRequest.setWsOwnerGroupName("ucla:ucla_roles:VCAP"); wsRestAssignAttributesLiteRequest.setAttributeAssignOperation("assign_attr"); wsRestAssignAttributesLiteRequest.setAttributeAssignValueOperation("add_value"); wsRestAssignAttributesLiteRequest.setValueSystem("ucla"); wsRestAssignAttributesLiteRequest.setAction("read"); wsRestAssignAttributesLiteRequest.setWsOwnerAttributeDefName("Grouper
Administration:attribute:permissionLimits:labels contains"); Thanks, Vivek |
- [grouper-users] RE: Assign Limit via web service, Chris Hyzer, 02/12/2014
- [grouper-users] Re: Assign Limit via web service, Sachdeva, Vivek, 02/13/2014
- [grouper-users] RE: Assign Limit via web service, Chris Hyzer, 02/13/2014
- [grouper-users] Re: Assign Limit via web service, Sachdeva, Vivek, 02/13/2014
Archive powered by MHonArc 2.6.16.