Foren

Display control panel portlets based on permissions

thumbnail
Rajeev K, geändert vor 13 Jahren.

Display control panel portlets based on permissions

Regular Member Beiträge: 214 Beitrittsdatum: 19.06.09 Neueste Beiträge
Hi,

I have made a new role and I am showing the dock menu for this role user using:-

#if ($role.getTitle($locale).equals("PORTAL ADMIN"))
    #set ($display_dock = true)
#end



Now the "PORTAL ADMIN" user is able to see the dock menu, but only "My Account", "My Pages" & "Communities".

How to display the "Web content", "Image Gallery" & "Document Library" in the control panel for this user(with PORTAL ADMIN role) ?

Thanks
thumbnail
Pranay R Patadiya, geändert vor 13 Jahren.

RE: Display control panel portlets based on permissions

Regular Member Beiträge: 177 Beitrittsdatum: 23.02.10 Neueste Beiträge
Hi,

For that you have to give new role to your application(Web content, Image Gallery etc).

Thanks,
Pranay Patadiya
thumbnail
Rajeev K, geändert vor 13 Jahren.

RE: Display control panel portlets based on permissions

Regular Member Beiträge: 214 Beitrittsdatum: 19.06.09 Neueste Beiträge
Pranay R Patadiya:
Hi,

For that you have to give new role to your application(Web content, Image Gallery etc).

Thanks,
Pranay Patadiya


Hi Pranay,

"give new role to your application" ...what does this mean?
thumbnail
Mohammed Azam, geändert vor 13 Jahren.

RE: Display control panel portlets based on permissions

Regular Member Beiträge: 159 Beitrittsdatum: 06.11.09 Neueste Beiträge
Rajeev K:
Hi,

I have made a new role and I am showing the dock menu for this role user using:-

#if ($role.getTitle($locale).equals("PORTAL ADMIN"))
    #set ($display_dock = true)
#end



Now the "PORTAL ADMIN" user is able to see the dock menu, but only "My Account", "My Pages" & "Communities".

How to display the "Web content", "Image Gallery" & "Document Library" in the control panel for this user(with PORTAL ADMIN role) ?

Thanks


Login as admin

Go to control->roles->testRole->actions->definepermission->Add permission select the portlet you want to give the permission for the users who belong to the role of your choice in my case its
testRole
and it should be under control panel category
thumbnail
Rajeev K, geändert vor 13 Jahren.

RE: Display control panel portlets based on permissions

Regular Member Beiträge: 214 Beitrittsdatum: 19.06.09 Neueste Beiträge
Hi Mohammed,

I tried doing the same as you mentioned:-

Go to control->roles->testRole->actions->definepermission->Add permission

But still when the user with this role went in the control panel, he could not see that portlet in the left menu.

Any other settings that we need to do?
thumbnail
Mohammed Azam, geändert vor 13 Jahren.

RE: Display control panel portlets based on permissions

Regular Member Beiträge: 159 Beitrittsdatum: 06.11.09 Neueste Beiträge
Rajeev K:
Hi Mohammed,

I tried doing the same as you mentioned:-

Go to control->roles->testRole->actions->definepermission->Add permission

But still when the user with this role went in the control panel, he could not see that portlet in the left menu.

Any other settings that we need to do?


Hi,

Did you select the portlet (eg:Web content) under control panel category.

PFA....
thumbnail
Rajeev K, geändert vor 13 Jahren.

RE: Display control panel portlets based on permissions

Regular Member Beiträge: 214 Beitrittsdatum: 19.06.09 Neueste Beiträge
Hi Mohammed,

Yes I did select the portlet. I am using 5.2.3

Is there a bug with this version?

Attached is the screen shot.
Kristof Verbraeken, geändert vor 13 Jahren.

RE: Display control panel portlets based on permissions

Junior Member Beiträge: 54 Beitrittsdatum: 25.02.09 Neueste Beiträge
Rajeev K:
Hi Mohammed,

Yes I did select the portlet. I am using 5.2.3

Is there a bug with this version?

Attached is the screen shot.


Hello Rajeev K,

We are experiencing the exact same problem that you mention and we're also using Liferay 5.2.3...

Have you found a solution for this problem by now? emoticon

Thanks in advance for any reply!

Kind regards,
Kristof
thumbnail
Rajeev K, geändert vor 12 Jahren.

RE: Display control panel portlets based on permissions

Regular Member Beiträge: 214 Beitrittsdatum: 19.06.09 Neueste Beiträge
Kristof Verbraeken:
Rajeev K:
Hi Mohammed,

Yes I did select the portlet. I am using 5.2.3

Is there a bug with this version?

Attached is the screen shot.


Hello Rajeev K,

We are experiencing the exact same problem that you mention and we're also using Liferay 5.2.3...

Have you found a solution for this problem by now? emoticon

Thanks in advance for any reply!

Kind regards,
Kristof


No Kristof, no solution has been found till now.