Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Hi Team,
In the Sightly we are using "caconfig" object to get the values defined in the Contextaware config's. We are using it like caconfig['<propertyname>']. This is working fine Author environment. But in Publisher it is not working. Could you please let us know is there extra configuration we need to do to fix this. We are maintaining configurations under /conf node. We don't want to provide anonymous access to this folder.
Thanks
K Chaitanya
Solucionado! Ir para a Solução.
Hi,
anonymous user needs to have read access to /conf on AEM; but the dispatcher should block any direct access to /conf. To go further with this, please allow anonymous to read /conf, just to confirm if that's the issue.
@Arun: The Sling Scripting bundle is using the sling-scripting service user to internally do stuff, but the rendering itself runs in the context of the user accessing the site (in case of publish: anonymous).
Jörg
Visualizações
respostas
Total de curtidas
Make sure that the anonymous user has read permission on the /conf folder where you store this configuration.
Visualizações
respostas
Total de curtidas
Hi Jörg Hoh
Thanks for the response. But I believe giving Anonymous access to /conf folder is not recommended. With this, Any User can access the /conf folder. Could you please let us know alternative fix.
Thanks
Visualizações
respostas
Total de curtidas
Hi Arun,
It is not working. Thanks for Response.
Thanks
Visualizações
respostas
Total de curtidas
Hi,
anonymous user needs to have read access to /conf on AEM; but the dispatcher should block any direct access to /conf. To go further with this, please allow anonymous to read /conf, just to confirm if that's the issue.
@Arun: The Sling Scripting bundle is using the sling-scripting service user to internally do stuff, but the rendering itself runs in the context of the user accessing the site (in case of publish: anonymous).
Jörg
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Hi Jorg,
It is working, If we give read access to Anonymous User. Primary Issue is resolved.
Also Getting 403/404 error, When we access /conf and it's subfolders from publisher/ dispatcher. Could you please confirm, Out of the Box access /conf folder restricted? Or still, we need to block the access to /conf folder from dispatcher ?.
Thanks
Visualizações
respostas
Total de curtidas
Hi,
just give it a try 🙂
And indeed it would be a good idea to prevent access to /conf also via dispatcher.
cheers,
Jörg
Visualizações
respostas
Total de curtidas
Hi Jorg.
Issue Solved. Thank you so much.
Thanks
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas