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

It is not possible to allow all users to edit their own fields when field.editable.user.types is empty

    Details

      Description

      Prior to LPS-30036 we were able to restrict screenName edition fot all user except administrators and allow all users to edit their emailAddress setting this:

      field.editable.com.liferay.portal.model.User.screenName=administrator
      field.editable.com.liferay.portal.model.User.emailAddress=administrator,user-with-mx,user-without-mx

      However, after LPS-30036, this is not possible since we will need to set the properties like this:

      field.editable.user.types=
      field.editable.roles=administrator
      field.editable.domains[birthday]={possible_domains}
      field.editable.domains[emailAddress]={possible_domains}
      field.editable.domains[firstName]={possible domains}
      field.editable.domains[gender]={possible domains}
      field.editable.domains[jobTitle]={possible domains}
      field.editable.domains[lastName]={possible domains}
      field.editable.domains[middleName]={possible domains}
      field.editable.domains[portrait]={possible domains}
      field.editable.domains[prefix]={possible domains}
      field.editable.domains[suffix]={possible domains}
      

      And it's almost impossible to set this configuration for webs where it's allowed to register with any domain.

      Steps to reproduce it

      1. Add the following properties:
        field.editable.user.types=
        field.editable.roles=
        field.editable.domains[screenName]=*
        field.editable.domains[emailAddress]=liferay.com
      2. Startup the portal
      3. Log in as [email protected]
      4. Go to My Account

      Current behaviour: You are able to edit emailAddres field but not screenName field
      Expected behaviour: You are able to edit screenName and emailAddress fields

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 16 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M6