0
votes

I've created a Regular User Role in my Liferay Portal titled Announcement Poster - the purpose of this role is to give all normal, non-administrative users the ability to add only the Announcement and the Alert Liferay out-of-the-box portlets to a page, as well as modify and delete those portlets as needed.

According to this post pertaining to Liferay 6.1, this can be done very simply by defining a Role's permissions and I've seen other users have success with the method, however in Liferay 6.2 I cannot achieve this - With my current settings, the user can still see the Edit and Preview options as well as the Portlet Configuration option. I simply want only the Add option to be displayed to a user assigned to this role.

enter image description here

My defined role permissions are as follows:

enter image description here So far I've tried many combinations of Site, Site Setting & Application permissions but can't achieve the desired outcome; has anyone had any luck with this or a similar situation?

Subsequent Liferay forum post https://www.liferay.com/community/forums/-/message_boards/message/43455741

1
Might be a LR bug. Have you checked the LR forums?rlegendi
I was trying to post but their cdn is down and the entire site isn't rendering properly, at least from my endKurai Bankusu
Posted to LR - link addedKurai Bankusu
Try this stackoverflow.com/questions/10664282/… this may serve your purposeVarun
try this it may serve your purposeVarun

1 Answers

0
votes

I don't think it is a Liferay bug, simply those buttons are not under permission system. You can hide them via css, or better, you can hook the dockbar JSP and render them with your own conditions.

EDIT:

When I say "those buttons are not under permission system" i mean singly.