[ 
https://issues.apache.org/jira/browse/USERGRID-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey  updated USERGRID-797:
------------------------------
    Fix Version/s: 2.1

> Org (and presumably App) credentials can't create connections by default
> ------------------------------------------------------------------------
>
>                 Key: USERGRID-797
>                 URL: https://issues.apache.org/jira/browse/USERGRID-797
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>    Affects Versions: 1.0, 2.0
>            Reporter: Brandon Shelley
>             Fix For: 2.1
>
>
> If you try to create a new connection using org or app credentials, it will 
> fail with:
> {code}
> {
>     "duration": 1,
>     "error": "unauthorized",
>     "error_description": "Subject does not have permission 
> [applications:post:uuid:/col1/uuid/relationship/uid]",
>     "exception": "org.apache.shiro.authz.UnauthorizedException",
>     "timestamp": "...."
> }
> {code}
> The only workaround seems to be to give {code}POST /**{code} to the Guest 
> role.
> Expected behavior: app and org credentials should (out of the box) both be 
> able to create and delete connections, as well as retrieve all depths of them:
> {code}GET /collection/uuid/verb
> GET /collection/uuid/connecting/verb
> GET /collection/uuid/connections/verb{code}
> etc.
> In short, all tests in the URAP integration_tests should pass on a net new 
> instance without having to set Guest role permissions to {code}/**{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to