Foros de discusión

Portlet visibility

armando ponce, modificado hace 15 años.

Portlet visibility

New Member Mensajes: 19 Fecha de incorporación: 31/03/09 Mensajes recientes
Hi,
I've been looking a way to configure a portlet to show it or not depending on the role. I don't want to show anything of that portlet like is not even there and so far what I achieved is a the portlet displaying a message saying that the user doesn't have permissions use the portlet.

How can I make that portlet disappear based on usergroups and roles?

Regards
thumbnail
Samuel Kong, modificado hace 15 años.

RE: Portlet visibility

Liferay Legend Mensajes: 1902 Fecha de incorporación: 10/03/08 Mensajes recientes
Just add the following to portal(-ext).properties:

layout.show.portlet.access.denied=false
armando ponce, modificado hace 15 años.

RE: Portlet visibility

New Member Mensajes: 19 Fecha de incorporación: 31/03/09 Mensajes recientes
Thanks for the quick response, also to complement this:
https://www.liferay.com/web/guest/community/forums/-/message_boards/message/92173

Regards