You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2018/11/06 10:29:05 UTC

[jira] [Closed] (OAK-7233) Improve rep:glob documentation

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

Davide Giannella closed OAK-7233.
---------------------------------

Bulk close 1.9.10

> Improve rep:glob documentation
> ------------------------------
>
>                 Key: OAK-7233
>                 URL: https://issues.apache.org/jira/browse/OAK-7233
>             Project: Jackrabbit Oak
>          Issue Type: Documentation
>          Components: core, security
>            Reporter: Konrad Windszus
>            Assignee: angela
>            Priority: Minor
>             Fix For: 1.10, 1.9.10
>
>
> The examples at https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html#Examples do not explicitly mention the root node. For the root node you must never use a {{rep:glob}} starting with {{/}}. 
> Also the following points should be clarified:
> * rep:glob affects both (child)node as well as property access
> * a link towards https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/core/security/authorization/GlobPattern.html would be helpful
> * make clearer how a rep:glob ending with {{/}} is different from one not ending with {{/}}
> Also the description for 
> {{/cat/}} and {{cat/}} seem wrong because IMHO descendants are only considered if the glob uses a {{*}}.
> This was originally triggered via https://issues.apache.org/jira/browse/OAK-7233.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)