Liferay: Role Based Permissions Check

I want to check whether a registered user has rights to perform a specific action on a portlet. Let's say there is a β€œCreate Product” button on the page, and I would like to hide it if someone other than the administrator logs in. How do you check this, both in the interface and in the end.

+4
source share
1 answer
+2
source

Source: https://habr.com/ru/post/1446533/


All Articles