Legacy Knowledge Base
Published Jul. 2, 2025

Guest user cannot see the Questions widget

Written By

Rafael Regner

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • I placed a Questions widget on a Widget Page and posted a question.
  • The Questions widget has the Guest View permission.
  • When a Guest user access this widget page, the posted question is not display and the portal displays the error "Error Loading Topics".

Environment

  • Liferay DXP 7.4

Resolution

  • There are some methods that need to be configured in the Service Access Policy to allow Guest users to see questions.
  • Please add a new Service Access Policy with the following methods:
    com.liferay.expando.kernel.service.ExpandoValueService#getData
    com.liferay.message.boards.service.MBCategoryService#getCategoriesCount
    com.liferay.message.boards.service.MBCategoryService#getCategory
    com.liferay.message.boards.service.MBMessageService#fetchMBMessageByUrlSubject
    com.liferay.message.boards.service.MBMessageService#getChildMessages
    com.liferay.message.boards.service.MBMessageService#getChildMessagesCount
    com.liferay.message.boards.service.MBMessageService#getMessage
    com.liferay.message.boards.service.MBThreadService#getThreads
    com.liferay.message.boards.service.MBThreadService#getThreadsCount
Did this article resolve your issue ?

Legacy Knowledge Base