Hi Guillaume
AFAIK Jackrabbit FileVault uses a similar approach. I'm not super
familiar with the code, but you may find interesting details if you
look at the classes JackrabbitACLImporter[0] and/or
JcrACLManagement[1].
The order of ACEs is significant. IIRC later entries "override"
earlier ones
Hello Bertrand,
Thank you for your reply. I have created SLING-6738 for the ACLs import.
Before adding unit tests and sending a PR, I would like to know if I'm
going in the right direction.
I've seen that in JsonReader there are already createAce and createAcl
methods, but they are used to creat
Hi,
On Tue, Mar 28, 2017 at 11:25 AM, Guillaume Lucazeau
wrote:
> ...Considering the lack of responses, Re-importing exported JSON, including
> the priviliges, doesn't seem to be a feature that lots of people need, so I
> will try to patch the importer on my own :)..
I actually have a use case f
Hello,
So I've realized my previous question was dumb, ACLs always get returned
when you provide a depth to the JSON servlet...
Considering the lack of responses, Re-importing exported JSON, including
the priviliges, doesn't seem to be a feature that lots of people need, so I
will try to patch th
Hello,
I realized that when getting some content as JSON from the basic servlet, I
sometimes get the ACLs nodes. But this only happens in some environment,
not on my local environment nor with a simple Sling standalone jar.
Can you confirm that I shouldn't get ACLs nodes when getting content as
J
Hello,
I'm having troubles finding where I should handle ACLs nodes. In your first
e-mail you said
> Not sure about ACLs though, it seems like they should be handled by the
content importer.
>From what I see the content importer is the main entry point for content
import and is handling JSON or X
I have created this ticket, for protected properties and nodes:
https://issues.apache.org/jira/browse/SLING-6614
I have realized after my previous e-mail that autocreated properties would
actually be there after node creation and that I could check their
protected status. I have created this PR:
h
Hi Guillaume,
On Mon, 2017-03-06 at 12:20 +0100, Guillaume Lucazeau wrote:
> Hello Robert,
>
> I finally have time this week to work on those enhancements, required
> on
> our project. How does it work, should I create tickets in Sling Jira
> and
> put a comment saying that i'm trying to fix this
Hello Robert,
I finally have time this week to work on those enhancements, required on
our project. How does it work, should I create tickets in Sling Jira and
put a comment saying that i'm trying to fix this?
I have a question regarding your previous answer: how will this work for
new properties
On Wed, 2016-12-21 at 12:30 +0100, Guillaume Lucazeau wrote:
> Hello Robert,
>
> Is it something that would be valuable to Sling itself, or should I
> try to
> do it just for my project?
Enhancements to the content loader are more than welcome in Sling :-)
> I couldn't find a list of all protect
Hello Robert,
Is it something that would be valuable to Sling itself, or should I try to
do it just for my project?
I couldn't find a list of all protected properties in Jackrabbit, do you
know if there is one? Or maybe there is a way to dynamically know if a
property is protected
Thank you
Reg
Hi Guillaume,
On Tue, 2016-11-29 at 18:36 +0100, Guillaume Lucazeau wrote:
> Hello,
>
> Currently when you get content through the json extension, it
> contains
> protected properties ("jcr:created", "jcr:createdBy") and permissions
> nodes.
>
> The protected properties prevent the JSON to be im
Hello,
Currently when you get content through the json extension, it contains
protected properties ("jcr:created", "jcr:createdBy") and permissions nodes.
The protected properties prevent the JSON to be immediately reimported in
another repository, and for what I see here [1] permissions are not
13 matches
Mail list logo