掲示板

Hide notifications portlet in dockbar for certain users

7年前 に Ralf Haller によって更新されました。

Hide notifications portlet in dockbar for certain users

Junior Member 投稿: 54 参加年月日: 13/05/13 最新の投稿
Hi,

is there a way to hide the notifications portlet in the dockbar for certain users (e.g. users with role "User") without changing the portlet itself or even completely undeploying it? When I understand correctly, the notifications portlet dynamically changes the dockbar during runtime using JavaScript. Is that true?

Compared to that removing the "My sites" menu in the dockbar using a hook was easy.

Thanks for any help,

Ralf
thumbnail
7年前 に Pankaj Kathiriya によって更新されました。

RE: Hide notifications portlet in dockbar for certain users

Liferay Master 投稿: 722 参加年月日: 10/08/05 最新の投稿
I have not tried that but you can remove VIEW permission for Notification for Role. There is Notification section for you under Define Permission section when you define Role permissions.
Yes, Notifications gets generated dynamically and pops-up in dock-bar.
7年前 に Ralf Haller によって更新されました。

RE: Hide notifications portlet in dockbar for certain users

Junior Member 投稿: 54 参加年月日: 13/05/13 最新の投稿
Pankaj Kathiriya:
I have not tried that but you can remove VIEW permission for Notification for Role. There is Notification section for you under Define Permission section when you define Role permissions.


This does not work, the portlet is still displayed in the dockbar...

Ralf