You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Malaka Mahanama (JIRA)" <ji...@apache.org> on 2014/05/16 12:39:41 UTC
[jira] [Resolved] (USERGRID-96) DELETE on a connection fails with
"unauthorized"
[ https://issues.apache.org/jira/browse/USERGRID-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Malaka Mahanama resolved USERGRID-96.
-------------------------------------
Resolution: Cannot Reproduce
Marking as resolved to get confirmation.
> DELETE on a connection fails with "unauthorized"
> ------------------------------------------------
>
> Key: USERGRID-96
> URL: https://issues.apache.org/jira/browse/USERGRID-96
> Project: Usergrid
> Issue Type: Bug
> Components: Stack
> Reporter: Rod Simpson
> Assignee: Malaka Mahanama
> Fix For: 1.1
>
> Attachments: create_connection.PNG, delete_connection.PNG, get_after_delete.PNG
>
>
> I have a custom entity type, "Item".
> Authenticated as a user, I can create an "owns" connection between myself and that custom entity.
> POST /myorg/myapp/users/me/owns/items/{uuid}
> This works.
> But, I cannot DELETE that connection . According to http://apigee.com/docs/usergrid/content/entity-relationships (See the screenshot) , I should be able to use a DELETE to remove the connection between two entities.
> I tried
> DELETE /myorg/myapp/users/me/owns/items/{uuid}
> and I get a 401 unauthorized return code.
> This seems wrong to me.
> Expected: DELETE works.
--
This message was sent by Atlassian JIRA
(v6.2#6252)