Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Prior to this change, when adding a page template, the images attached to it are not viewable by External users. This is due to the fact that the access permission of attached image is computed switch page being edited, or if of type page template to current page (layout-editor). This change will fix two bugs: - Give access to layout-editor page to anyone to let the ACL made by page permissions instead (by the Space Layout permissions if the page is added in a space) - Make the attached image to a fictive page (not really instanciated yet), accessible to all users since the page can be used in any site/space.
- Loading branch information