Page type link list - how to exclude unpublished pages?

In Litium accelerator there is a link list shown in the header of page called TopLinkList. This is a link list on a page (linkModels). When fetching these links we get all pages in list, even if they are not published or the user does not have read persmission to the page. We added a check on the link model to be AccessibleByUser and now we only get pages the user has page read permission to. But we still get unpublished pages. How do we exclude unpublished pages?

Litium version: 6

The LinkModel have a property AccessibleByUser that you should be able to check, if that is true the page should be accessible for the user.

For me AccessibleByUser also contains that the page is published. If this property not is working as you expect, please create a bug here https://docs.litium.com/support/bugs/report-a-bug

It is nog working for me so i will create a bug.

Bug reported, https://docs.litium.com/support/bugs/bug_details?id=42373

The reported bug is resolved in Litium version 6.2.0

@Sandra did you try the upgrade with the bugfix to resolve the issue?