Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

matthieu_théria
Community profile matthieu_théria Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 30-05-2017 8:30:09 AM
Offline
Top badges earned by matthieu_théria
Customize the badges you want to showcase on your profile
Re: API - Is there a way to retrieve the data of a social component in a structured way?
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi Kalyanar,I have tried and modified your sample for my needs. It works! Thanks for your help.If I traverse all nodes in the path "mywebsite/content", is it possible to determine if a page or a page content uses a social component?Thanks,Matthieu

Views

418

Likes

0

Replies

0
Re: API - Is there a way to retrieve the data of a social component in a structured way?
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi Kalyanar,Thanks for the sample, I will try it in my environment.Two questions:In your sample, I will need to call this servlet by calling something like a PATH.sample.json. What will be the PATH of the resource in this case? For example, in the Geometrixx demo, it will work on what kind of resources?I don't understand the link between between the selector 'social' (http://localhost:4502/content/community-components/en/comments/jcr:content/content/comments.social.json)and this sample?Thanks fo...

Views

417

Likes

0

Replies

0
Re: API - Is there a way to retrieve the data of a social component in a structured way?
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Thanks Peter,I will experiment this.Matthieu

Views

419

Likes

0

Replies

0
Re: API - Is there a way to retrieve the data of a social component in a structured way?
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi Kalyanar,I check this link, I see an interesting JSON, but I'm not sure to understand how I can retrieve the forum and its posts for example.Could you give some hints?Thanks,Matthieu

Views

420

Likes

0

Replies

0
Re: API - Is there a way to retrieve the data of a social component in a structured way?
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi Peter,Thanks for your reply.I see that I can get the structure in JSON, but the data is very "raw".There is no way to get this data from an API in a more structured way. For example, to retrieve all forums, and for a specific forum, retrieve all topics and posts?I need to understand how to parse this JSON to extract what I need? An also need to a the exact path of this forum?Thanks,Matthieu

Views

419

Likes

0

Replies

0
Re: API - Is there a way to retrieve the data of a social component in a structured way?
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi Kalyanar,I have the AEM version 6.0 and I currently make my tests with the Geometrixx samples to discover the possibilities.Matthieu

Views

422

Likes

0

Replies

0
API - Is there a way to retrieve the data of a social component in a structured way?
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi,I have not found how to do what I want in the AEM documentation or in a tutorial...Is there a way to retrieve the data of a social component in a structured way? I know that I can retrieve specific nodes in the repository, but I need to figure out how the social component is implemented in the repository (nodes structure).Is it possible to get the forum and its posts for example. What would be the best method to do this (JCR API, Sling, AEM API)?Thanks,Matthieu

Views

2.2K

Like

1

Replies

12
Re: Retrieve effective permissions in AEM 6.0 using REST services
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi Jörg,Yes, it seems that the OSGi Bundle "JackRabbit.AccessManager" doesn't correctly compute the effective permissions when one or more restrictions are defined. They simply compute the deny set and the allow set no matter if the restrictions is applied or not to the specific resource path...I have implemented my own servlet (with another custom selector) that calls the AccessManager.getEffectivePolicies(resourcePath) of the JCR API and I have all policies including these with a restriction. ...

Views

501

Likes

0

Replies

0
Re: Retrieve effective permissions in AEM 6.0 using REST services
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi Jörg,I use this bundle to get this response: http://sling.apache.org/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html.And I think that this call can be used in the AccessManager:getEffectivePolicies(String)Ref.: http://jackrabbit.apache.org/oak/docs/security/accesscontrol/editing.htmlHowever, I think that will have to implement my own servlet to expose this call in REST.Thanks,Matthieu

Views

497

Likes

0

Replies

0
Re: Retrieve effective permissions in AEM 6.0 using REST services
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
I don't understand why it would not be possible. If I have a way to retrieve effective permissions for a specific node, I'm able to determine if the user has access or not.For example with the Geometixx Demo and this call: http://localhost:4502/content.eacl.json I get this: { content-authors: { principal: "content-authors", granted: [ "jcr:versionManagement", "crx:replicate", "jcr:lockManagement", "rep:write" ], order: 0 }, administrators: { principal: "administrators", granted: [ "jcr:all" ], o...

Views

493

Likes

0

Replies

0
Re: Retrieve effective permissions in AEM 6.0 using REST services
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Yes, I understand your point, but I have some constraints...I will not be able to dynamically do the query with a "specific user". I really need to get the effective permissions (in terms of users and groups) and push them in another security model with the retrieved content.Is there no way to do this?Thanks,Matthieu

Views

497

Likes

0

Replies

0
Retrieve effective permissions in AEM 6.0 using REST services
Avatar
Validate 1
Level 1
matthieu_théria
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
matthieu_théria
- Adobe Experience Manager
Hi,I'm new in the world of AEM. I have installed AEM 6.0 (author and publish instances).I'm interested to find a way to retrieve effective permissions on a specific repository node by using a REST call. For this, I have installed the last version of the OSGi Bundle "jackrabbit.accessmanager" (v2.1.2). With this, we can do this call to get the effective permissions for pa particular not in JSON format: http://localhost:4502/content/mynode.eacl.json.However, its seems that the effective permission...

Views

1.9K

Likes

0

Replies

12
Likes given to
Likes from