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

As a Portal Administrator, I want to restrict the type of Accounts allowed on a Site.

    Details

      Description

      For context: Commerce currently has a means to restrict the type of Accounts that can be created based on the Site Type: B2C sites can only have Person Accounts, B2B sites can only have Business Accounts, and B2X sites can have both. This Story is based on this use case by Commerce.

      Since Site Type is a specific parameter subject to the specificity of a use case, a generalized solution is to read the permitted Account types as an input. We must provide a capability to read the permitted Account types.

      Functional Requirements:

      1. Read the permitted Account types being passed.
      2. Restrict the Account types that can be created and displayed only to the permitted Account types specified by the endpoint
        1. If the permitted Account type is only Business, only allow creation and display of Business Accounts.
        2. If the permitted Account type is only Person, only allow creation and display of Person Accounts.
        3. If there are no specified Account types, allow creation and display of both Business and Person Accounts by default.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              patricia.perez Patricia Perez
              Reporter:
              leonard.bejosano Leonard Bejosano
              Engineering Assignee:
              SE Support
              Recent user:
              Enterprise Release HU
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  Master