Forums de discussion
How hide + icon for Document and media Portlet based on the User roles.
Mohammed Sulaiman, modifié il y a 6 années.
How hide + icon for Document and media Portlet based on the User roles.
New Member Publications: 18 Date d'inscription: 07/07/17 Publications récentes
I have created a site and drop the document and media portlet.
I have created a site role "Member_R" with only read permission,similarly "Member_RW" role with write permissions.
Whenever user login who has a "Member_R" role ,then i need to hide the '+' icon in the title bar of the Document and media portlet,since because the user has the only read permissions.
For the user with the "Member_RW" role ,i need to show the '+' icon in the title bar of the portlet.
I have also uncheck the permission of the user role ,and also uncheck the permission for the guest role.
But when the user logs in with the "Member_R" role, he still can see the '+' icon .
Iam using Liferay DXP.
I have created a site role "Member_R" with only read permission,similarly "Member_RW" role with write permissions.
Whenever user login who has a "Member_R" role ,then i need to hide the '+' icon in the title bar of the Document and media portlet,since because the user has the only read permissions.
For the user with the "Member_RW" role ,i need to show the '+' icon in the title bar of the portlet.
I have also uncheck the permission of the user role ,and also uncheck the permission for the guest role.
But when the user logs in with the "Member_R" role, he still can see the '+' icon .
Iam using Liferay DXP.
Pièces jointes:
ANKIT SRIVASTAVA, modifié il y a 6 années.
RE: How hide + icon for Document and media Portlet based on the User role
Junior Member Publications: 76 Date d'inscription: 02/02/11 Publications récentes
I am also facing the same. It seems portlet topper actions does not respect Liferay's Permission system and Site member able to see everything.
Reported Issue:
https://issues.liferay.com/browse/LPS-76007
Thanks,
Ankit
Reported Issue:
https://issues.liferay.com/browse/LPS-76007
Thanks,
Ankit
Mohammed Sulaiman, modifié il y a 6 années.
RE: How hide + icon for Document and media Portlet based on the User role
New Member Publications: 18 Date d'inscription: 07/07/17 Publications récentes
Thanks for your help @ANKIT SRIVASTAVA.
Olaf Kock, modifié il y a 6 années.