PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-10688

The permission to access the "My workflow tasks" & "My publication requests" portlets should be possible through the roles administration

    Details

    • Similar Issues:
      Show 5 results 

      Description

      "My workflow tasks" & "My publication requests" portlets should only appear in the control panel if the user has the correct permissions

        Activity

        Hide
        Jorge Ferrer added a comment -

        We have decided to delay this task until the next release, because the implementation is not obvious and it would not be wise to commit it so close to the release date.

        Show
        Jorge Ferrer added a comment - We have decided to delay this task until the next release, because the implementation is not obvious and it would not be wise to commit it so close to the release date.
        Hide
        Jelmer Kuperus added a comment -

        Is this still being looked at ?, it's currently a nuisance for public facing sites that allow editing of the profile by users in the control panel

        Show
        Jelmer Kuperus added a comment - Is this still being looked at ?, it's currently a nuisance for public facing sites that allow editing of the profile by users in the control panel
        Hide
        Jorge Ferrer added a comment -

        Hi Jelmer,

        Sorry, I hadn't had time to look at this until today. The good news is that it's been really simple after the introduction of the permission "Access in Control Panel" that was done after the initial attempt to fix this. All I have done to support this is to remove the following line from the liferay-portlet.xml file for the related portlets:

        <control-panel-entry-class>com.liferay.portal.workflow.MyWorkflowControlPanelEntry</control-panel-entry-class>

        Then assign the permission "Access in Control Panel" for the portlets for the roles that you want to assign to the users that should have access to them.

        You can do this in a Liferay 6.0 installation and it should work. We'll do this by default for 6.1 and assign the permission to the User role so that the default behavior is the same but it's easy to change through the roles admin.

        Show
        Jorge Ferrer added a comment - Hi Jelmer, Sorry, I hadn't had time to look at this until today. The good news is that it's been really simple after the introduction of the permission "Access in Control Panel" that was done after the initial attempt to fix this. All I have done to support this is to remove the following line from the liferay-portlet.xml file for the related portlets: <control-panel-entry-class>com.liferay.portal.workflow.MyWorkflowControlPanelEntry</control-panel-entry-class> Then assign the permission "Access in Control Panel" for the portlets for the roles that you want to assign to the users that should have access to them. You can do this in a Liferay 6.0 installation and it should work. We'll do this by default for 6.1 and assign the permission to the User role so that the default behavior is the same but it's easy to change through the roles admin.
        Hide
        Jorge Ferrer added a comment -

        I've converted the ticket to an improvement and changed the title to acknowledge the situation after the introduction of the "Access in Control Panel" permission

        Show
        Jorge Ferrer added a comment - I've converted the ticket to an improvement and changed the title to acknowledge the situation after the introduction of the "Access in Control Panel" permission
        Hide
        Jorge Ferrer added a comment -

        I have committed the necessary changes to have this by default in 6.1.

        Do you think it's necessary to have an upgrade script that adds the "Access in Control Panel" permissions by default to portals upgrading from previous versions?

        Show
        Jorge Ferrer added a comment - I have committed the necessary changes to have this by default in 6.1. Do you think it's necessary to have an upgrade script that adds the "Access in Control Panel" permissions by default to portals upgrading from previous versions?
        Hide
        Brian Chan added a comment -

        Waiting for upgrade. Already reviewed changes.

        Show
        Brian Chan added a comment - Waiting for upgrade. Already reviewed changes.
        Hide
        Jorge Ferrer added a comment -

        I'm already working on the upgrade, but it's hard because I need to take care of many permission algs, so it'll take a while.

        Show
        Jorge Ferrer added a comment - I'm already working on the upgrade, but it's hard because I need to take care of many permission algs, so it'll take a while.
        Hide
        Miguel Pastor added a comment -

        This problem is resolved in ticket LPS-18201.

        This two portlets will appear in the Control Panel if the user has pending submissions/tasks

        Show
        Miguel Pastor added a comment - This problem is resolved in ticket LPS-18201 . This two portlets will appear in the Control Panel if the user has pending submissions/tasks

          People

          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 37 weeks ago

              Development

                Structure Helper Panel