Describe the bug
When there is included content at beginning of the page that should not be accessible by the User it wil still be shown in the page preview.
Steps To Reproduce
Steps to reproduce the behavior:
- Create page1 without reading permissions for user1 and write anything within there
- Get the content include code by double clicking
- Create page2 with reading permission for user1
- Include the content (for example with
{{@3#bkmrk-example-of-a-text-inc}}) into the first lines
- login as user1
You should not be able to read page1, you should not see the content from page1 in page2, but you will see the content of page1 in the pagelist summary
Screenshots


More
I guess the source of the problem is very simple, when the preview is generated it does not check for the include permissions. This problem seems to be introduced with #442. By the way, one more reason for #1126 ;)
Describe the bug
When there is included content at beginning of the page that should not be accessible by the User it wil still be shown in the page preview.
Steps To Reproduce
Steps to reproduce the behavior:
{{@3#bkmrk-example-of-a-text-inc}}) into the first linesYou should not be able to read page1, you should not see the content from page1 in page2, but you will see the content of page1 in the pagelist summary
Screenshots


More
I guess the source of the problem is very simple, when the preview is generated it does not check for the include permissions. This problem seems to be introduced with #442. By the way, one more reason for #1126 ;)