Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-27144

Taglibrary liferay-ui:mysites should support argument for includeControlPanel

    Details

      Description

      We have (using Liferay 6.0.5 CE) developed a hook to prevent access to the control-panel for users. With 6.1.0 CE GA1, the link to the control panel now appears in "mySites" and even if users are prevented access, the link should preferrably not be visible to them.

      It would be great if liferay-ui:my-sites exposed an argument wether to include the control panel or not:

      e.g., <liferay-ui:my-sites includeControlPanel="false" />

      /portal-web/taglib/ui/my_sites/page.jsp currently has the following line:

      List<Group> mySites = user.getMySites(true, max);

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            13thbit Thomas Berg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package