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

Best practice for policies/templates and ACLs (AEM 6.4.6)

Avatar

Avatar
Validate 1
Level 2
Maikman83
Level 2

Like

1 like

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 2
Maikman83
Level 2

Like

1 like

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Boost 1
View profile
Maikman83
Level 2

12-02-2020

Hello all,

 

we have custom templates and polices in our project deployed to "/conf/customProject/settings/wcm/templates" and "/conf/customProject/settings/wcm/policies".

 

The problem is, that on the publisher the policies don't work, because of the deny jcr:all for everyone on the conf-folder. So we need to add 2 ACLs:

Bildschirmfoto 2020-02-12 um 08.39.21.png

This works perfectly for us, but we don't know if there are any side effects or if there is not a better user (maybe a system user) for this issue.

 

Does anyone have the same issue and a better practice to handle it?

 

Best, Maik

View Entire Topic

Avatar

Avatar
Ignite 1
Employee
dgordon86
Employee

Likes

49 likes

Total Posts

73 posts

Correct Reply

26 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Employee
dgordon86
Employee

Likes

49 likes

Total Posts

73 posts

Correct Reply

26 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
dgordon86
Employee

13-02-2020

Hi @Maikman83 

 

I think the glob expression should be ok, however if you want to be safe I would follow the examples presented by AEM Project archetype:

 

https://github.com/adobe/aem-project-archetype/blob/master/src/main/archetype/ui.content/src/main/co...

 

https://github.com/adobe/aem-project-archetype/blob/master/src/main/archetype/ui.content/src/main/co...