sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (JIRA)" <>
Subject [jira] [Commented] (SLING-7280) Repoinit: add support for empty rep:glob restriction
Date Thu, 21 Dec 2017 14:35:00 GMT


Bertrand Delacretaz commented on SLING-7280:

Implemented in

FWIW It looks like an empty rep:glob restriction does not work for all permissions, I initially
tried with a {{jcr:modifyProperties}} permission and didn't get the expected behavior.

It works fine with {{jcr:read}} as in this example, similar to the test that I added in the
above commit:

allow jcr:read on /someNode restriction (rep:glob)

And allows reading /someNode but not its children

Note the repoinit syntax with just {{rep:glob}} as opposed to {{rep:glob,""}} - this is already
supported by the current repoinit parser module, but the repoinit JCR module didn't handle
it so far.

> Repoinit: add support for empty rep:glob restriction
> ----------------------------------------------------
>                 Key: SLING-7280
>                 URL:
>             Project: Sling
>          Issue Type: Bug
>          Components: Repoinit
>    Affects Versions: Repoinit JCR 1.1.6
>            Reporter: angela
>             Fix For: Repoinit JCR 1.1.8
> [~bdelacretaz], I was asked by a colleague at Adobe how to create a _rep:glob_ restriction
with an empty string value as it is possible and documented with Jackrabbit API. I didn't
find how to do that and suspect that it's simply a bug in the repo init.
> I would appreciate if you could look into this and fix it.
> cc: [~marett]

This message was sent by Atlassian JIRA

View raw message