PUBLIC - Liferay Portal Community Edition

Suport configuring custom roles to provide access Control Panel tools

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 5.2.3, 6.0.0 Preview
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Similar Issues:
    Show 4 results 
  • Liferay Contributor's Agreement:
    Accept

Description

Currently the menu entries in the Control Panel are automatically shown or not based on dynamic rules implemented by ControlPanelEntry implementations. While that's useful for many cases there are situations when manually specifying which roles provide access to which tools is necessary.

This is specially true for the case of the tools used to manage Content. Currently they are only shown to users with either of the following roles: Community/Organization Administrator or Community/Organization Owner. But if you create a custom role such as Blogs Administrator, the users that have it won't be able to manage the blogs through the control panel.

The solution is to create a new permission called MANAGE_IN_CONTROL_PANEL for control panel applications that can be assigned to any role to give access to its users to that application in the control panel. This permission can be limited in scope to specific organization or communities if desired.

Activity

Hide
Jorge Ferrer added a comment -

Committed to trunk

Show
Jorge Ferrer added a comment - Committed to trunk
Hide
Hesediel added a comment - - Restricted to

Hi all,

Is there a way to simply add this functionnality to Liferay 5.2.3 ?

Must we compile the project in order to have it ?

Thanks in advance,

Hesediel.

Show
Hesediel added a comment - - Restricted to Hi all, Is there a way to simply add this functionnality to Liferay 5.2.3 ? Must we compile the project in order to have it ? Thanks in advance, Hesediel.
Hide
Jorge Ferrer added a comment - - Restricted to

Hi Hesediel,

The only way I can think of is to apply the changes to PortalImpl manually (preferably through a subclass) and copy the XML files in your ext env.

Show
Jorge Ferrer added a comment - - Restricted to Hi Hesediel, The only way I can think of is to apply the changes to PortalImpl manually (preferably through a subclass) and copy the XML files in your ext env.
Hide
Filippo added a comment -

Could you attach files to this jira?

Show
Filippo added a comment - Could you attach files to this jira?
Hide
Flavel added a comment -

I am using Liferay 6.0.5. I added the role "MANAGE_IN_CONTROL_PANEL" as a regular and organizational, but it didn't seem to fix my problem of allowing a user who isn't an admin access to the lower parts of the control panel (organizations, roles...)

Is there another way to do this?

Show
Flavel added a comment - I am using Liferay 6.0.5. I added the role "MANAGE_IN_CONTROL_PANEL" as a regular and organizational, but it didn't seem to fix my problem of allowing a user who isn't an admin access to the lower parts of the control panel (organizations, roles...) Is there another way to do this?
Hide
Jorge Ferrer added a comment -

Hey Flavel,

I don't think you're using the permission system the way it's designed. Please use the message boards to ask for help.

Show
Jorge Ferrer added a comment - Hey Flavel, I don't think you're using the permission system the way it's designed. Please use the message boards to ask for help.

People

Vote (0)
Watch (7)

Dates

  • Created:
    Updated:
    Resolved: