Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Kumar M
Role based portlet configuration
May 12, 2013 11:18 PM
Answer

Kumar M

Rank: New Member

Posts: 16

Join Date: September 12, 2012

Recent Posts

Hi All,

I am implemented 4 JSF portlets,there is requirement from the client , some of the portlets are should be visible to a particular category of users how we can configure and what are the different ways to configure the portlets.

Note : all the portlets are deployed on the server.
Could you please help me regarding this.

Thanks in advance
Vijay Kumar
vijay pandey
RE: Role based portlet configuration
May 12, 2013 11:27 PM
Answer

vijay pandey

Rank: Junior Member

Posts: 44

Join Date: September 1, 2010

Recent Posts

Hi Vijay Kumar

You can configure the portlet using the roles based , for the same you must to set up the organizations ,sites and then making the users .
Then each user assign org or site after that making the roles .
After that asign the user roles .

Lastly go to portlet and configure the portlet using the user roles ..

If you have any concerned let me know

Cheers
Vijay Pandey
Kumar M
RE: Role based portlet configuration
May 12, 2013 11:35 PM
Answer

Kumar M

Rank: New Member

Posts: 16

Join Date: September 12, 2012

Recent Posts

Hi Vijay,

thanks for your replay, could you please elaborate it and how to configure at programetically.

Thanks
Vijay
Vilmos Papp
RE: Role based portlet configuration
May 12, 2013 11:35 PM
Answer

Vilmos Papp

LIFERAY STAFF

Rank: Liferay Master

Posts: 521

Join Date: October 21, 2010

Recent Posts

Hi,

You have 2 options at least.

1) Change the porlet's permissions on the page you placed them. In this case you have to do this for each page and for each portlets.

2) Configure the permissions for roles from control panel if it's applicable: http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen12-plugins-configuration-0
vijay pandey
RE: Role based portlet configuration
May 13, 2013 12:36 AM
Answer

vijay pandey

Rank: Junior Member

Posts: 44

Join Date: September 1, 2010

Recent Posts

Hello Vijay Kumar

You can do the roles based configuration using the xml of portlet and want for further then use the api and fetch the roles and department(org) and asign the roles .

Cheers
Vijay Pandey emoticon
vijay pandey
RE: Role based portlet configuration
May 13, 2013 12:37 AM
Answer

vijay pandey

Rank: Junior Member

Posts: 44

Join Date: September 1, 2010

Recent Posts

yes vijay ,you can use the solutions of Vimos ,

Cheers
Vijay Pandey
Kumar M
RE: Role based portlet configuration
May 14, 2013 12:06 AM
Answer

Kumar M

Rank: New Member

Posts: 16

Join Date: September 12, 2012

Recent Posts

Thanks vijay and Vimos