この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hello,
Using: AEM 6.1.0
We are in middle on the developing of our first website. The content and code is transferred correctly to the publish instance.
Trying to render a page on publish, does not work as anonymous, but works as admin. So I guess it is a permissions problem for the user anonymous, who has only (standard) access to /content and /bin.
I could not find any documentation, which permissions to give to the anonymous user except for an article on stack overflow.
Here it was suggested to give him read on everything and let the dispatcher deny any direct access to /apps, /etc and other folders...
This seems like a bad security concept, letting a web server handle the security.
Is this the only possible way to do this?
Kind regards,
Jerry
解決済! 解決策の投稿を見る。
Problem solved:
Template from the developers tried to read sth beneath /etc/siteconfig. (some parameters for the website are stored here, like how many news to show, etc...)
"Anonymous" had no access to that /etc/siteconfig.
What I don't understand is:
Why does the system checks if a user has the permission to read that content, that a template needs?
"anonymous" has no rights to read the code from the components, but they still get exectued?!
couple of questions.
Are you able to access /content/geometrixx/en.html without login which is the default behaviour of publisher ?
When you say it doesnt render, does it throw 404 or is it partially rendered ?
表示
返信
いいね!の合計
Did you moved rep:policy node along with your content to publish?
If so, please check for the existence of rep:policy node in publish instandce under your project content path, it might cause the issue.
表示
返信
いいね!の合計
bsloki wrote...
couple of questions.
Are you able to access /content/geometrixx/en.html without login which is the default behaviour of publisher ?
When you say it doesnt render, does it throw 404 or is it partially rendered ?
RequestURI=/content/conseil_etat/fr/composition0.html
Servlet= /apps/global/components/page/basepage/basepage.jsp
Premkarthic wrote...
Did you moved rep:policy node along with your content to publish?
If so, please check for the existence of rep:policy node in publish instandce under your project content path, it might cause the issue.
That is expected behavior.
Did you applied any acl at author and moved the same to publish instance, if so please remove the same from publish and check.
表示
返信
いいね!の合計
I never replicated any ACL's. I created new ones for the replication agent, but this should not have impacted the "anonymou" user. I did not change the "everyone" group (picture attached).
Is this happening for all the pages or any specific page ?
表示
返信
いいね!の合計
Problem solved:
Template from the developers tried to read sth beneath /etc/siteconfig. (some parameters for the website are stored here, like how many news to show, etc...)
"Anonymous" had no access to that /etc/siteconfig.
What I don't understand is:
Why does the system checks if a user has the permission to read that content, that a template needs?
"anonymous" has no rights to read the code from the components, but they still get exectued?!