Issue
- Reindexing icon is available on top of every page while reindexing for all the users irrespective of roles
Environment
- Liferay DXP 7.2
Resolution
-
This can be disabled for all users by blacklisting the osgi component.
-
Also, by adding the below config file
com.liferay.portal.component.blacklist.internal.ComponentBlacklistConfiguration.config
blacklistComponentNames=[ \
"com.liferay.portal.search.web.internal.product.navigation.control.menu.IndexingProductNavigationControlMenuEntry", \
]
Please keep in mind that you by disabling this component, there will be no feedback at all about that a reindex is running in the product menu.
Additional Information
- To disable the option by certain roles, submitting a new feature request by following this documentation Requesting a New Feature or Feature Improvement should help.