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

FormNavigatorEntry isVisible needs context indicator.

Details

    Description

      In 6.x, there were separate users.form.add.XXX, users.form.update.XXX and users.form.my.account.XXX to separately manage the panels displayed under the different contexts.

      In 7, these three have been merged into a single FormNavigatorCategory CATEGORY_KEY_USER_USER_INFORMATION and this same category is now used for adds, updates and My Account.

      If users should not, for example, be able to view/change their phone numbers in My Account, currently there is no way to disable this component because it affects the add/update functionality in the users control panel.

      If the isVisible() method included a third parameter, some sort of context indicator (such as portlet ID), the method could be used to allow display of the phone number panel in the users control panel but not in the "My Account" page.

      Attachments

        Activity

          People

            david.truong David Truong
            david.nebinger David Nebinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package