jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-7233) Improve rep:glob documentation
Date Thu, 01 Feb 2018 17:25:00 GMT

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

Konrad Windszus updated OAK-7233:
---------------------------------
    Description: 
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.

  was:
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 {{/}}

This was originally triggered via https://issues.apache.org/jira/browse/OAK-7233.


> 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
>
>
> 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)

Mime
View raw message