Forums de discussion

Role based portlet configuration

thumbnail
Kumar M, modifié il y a 10 années.

Role based portlet configuration

New Member Publications: 16 Date d'inscription: 13/09/12 Publications récentes
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
thumbnail
vijay pandey, modifié il y a 10 années.

RE: Role based portlet configuration

Junior Member Publications: 44 Date d'inscription: 01/09/10 Publications récentes
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
thumbnail
Kumar M, modifié il y a 10 années.

RE: Role based portlet configuration

New Member Publications: 16 Date d'inscription: 13/09/12 Publications récentes
Hi Vijay,

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

Thanks
Vijay
thumbnail
vijay pandey, modifié il y a 10 années.

RE: Role based portlet configuration

Junior Member Publications: 44 Date d'inscription: 01/09/10 Publications récentes
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
thumbnail
Vilmos Papp, modifié il y a 10 années.

RE: Role based portlet configuration

Liferay Master Publications: 529 Date d'inscription: 21/10/10 Publications récentes
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
thumbnail
vijay pandey, modifié il y a 10 années.

RE: Role based portlet configuration

Junior Member Publications: 44 Date d'inscription: 01/09/10 Publications récentes
yes vijay ,you can use the solutions of Vimos ,

Cheers
Vijay Pandey
thumbnail
Kumar M, modifié il y a 10 années.

RE: Role based portlet configuration

New Member Publications: 16 Date d'inscription: 13/09/12 Publications récentes
Thanks vijay and Vimos