Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-2530

Profile portlet: without permissions, user's fields should be disabled as in My Account portlet

    Details

    • Fix Priority:
      2
    • Affects Portal Version/s:
      Master, 6.2.x, 6.2.10 EE GA1

      Description

      Steps to reproduce it:

      1. Add the following properties to your portal-ext.properties to allow to edit my account fields just for the user test@liferay.com:
        field.editable.user.types=
        
        field.editable.domains[birthday]=test@liferay.com
        field.editable.domains[emailAddress]=test@liferay.com
        field.editable.domains[firstName]=test@liferay.com
        field.editable.domains[gender]=test@liferay.com
        field.editable.domains[jobTitle]=test@liferay.com
        field.editable.domains[lastName]=test@liferay.com
        field.editable.domains[middleName]=test@liferay.com
        field.editable.domains[portrait]=test@liferay.com
        field.editable.domains[prefix]=test@liferay.com
        field.editable.domains[screenName]=test@liferay.com
        field.editable.domains[suffix]=test@liferay.com
        
      2. Startup your server.
      3. Install Social Office.
      4. Create a user.
      5. Go to the user's dashboard.
      6. Add the profile portlet.
      7. Click on edit your profile.

      The user's fields should be disabled because the user doesn't have permissions to edit them, that happens in my account portlet (see my_account_portal_no_permissions.png) however the fields can be edited (see profile_portlet_no_permissions.png)

      The bug is minor since the portal doesn't allow to modify the fields in the backend.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 30 weeks, 4 days ago

                Packages

                Version Package
                3.X EE
                3.X CE