If we use a filtered contents services with orphan contents without checking user's access the orphan contents cannot be retrieved.
As orphan contents have no referencing pages, org.ametys.web.pageaccess.ContentAccessManager.isAccessibleByPage(WebContent, Page) always return false.
As consequence, the service should be configured with user's access and so it can not be cacheable.
This service is used on home page of projects to display wall contents and leads to performance issues.
[CMS-9931] A filtered contents service with orphan contents can not be cacheable
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Ready to merge [ 10208 ] | New: Resolved [ 5 ] |
Assignee | New: Laurence Aumeunier [ laurence ] |
Status | Original: Code review OK [ 10206 ] | New: Ready to merge [ 10208 ] |
Assignee | Original: Raphaël Franchet [ raphael ] |
Status | Original: Available for review [ 10005 ] | New: Code review OK [ 10206 ] |
Status | Original: Open [ 1 ] | New: Available for review [ 10005 ] |
Assignee | Original: Laurence Aumeunier [ laurence ] | New: Raphaël Franchet [ raphael ] |
Status | Original: Available for review [ 10005 ] | New: Open [ 1 ] |
Assignee | Original: Raphaël Franchet [ raphael ] | New: Laurence Aumeunier [ laurence ] |