You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/13 02:21:16 UTC

[jira] [Commented] (USERGRID-225) Portal will not allow $ in permission paths

    [ https://issues.apache.org/jira/browse/USERGRID-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209046#comment-14209046 ] 

ASF GitHub Bot commented on USERGRID-225:
-----------------------------------------

Github user rodsimpson commented on the pull request:

    https://github.com/apache/incubator-usergrid/pull/82#issuecomment-62825774
  
    this is merged.


> Portal will not allow $ in permission paths
> -------------------------------------------
>
>                 Key: USERGRID-225
>                 URL: https://issues.apache.org/jira/browse/USERGRID-225
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Portal
>            Reporter: David Johnson
>
> On the Portal's ROLES page, when you click the Add Permission button, you will see a New Permission dialog appear. If you try to use ${user} in the Path field you will get an error that says "Path must begin with a slash, path only allows: /, a-z, 0-9, dot, and dash, paths of the format: /path/ or /path//path are not allowed"
> But, according to the docs, you can use ${user} in permissions path:
> "${user} Automatically sets the path segment to the UUID of the currently authenticated user. For example, if you sent a request with a valid access token for a user with UUID bd397ea1-a71c-3249-8a4c-62fd53c78ce7, the path /users/${user} would be interpreted as /users/bd397ea1-a71c-3249-8a4c-62fd53c78ce7, assigning the permission only to that user entity."
> That is from:
> http://apigee.com/docs/api-baas/content/using-permissions
> (part of the docs not yet part of the Apache project)



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