Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-709

Joomla Front-end Profiles - Do NOT Display Private Fields

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      Currently, when a Profile 'view details' screen is rendered in the Joomla front-end - ALL fields are displayed on the page - including fields where uf_field.visibility = 'User and User Admin Only'.

      1. Modify the code so that pages displayed by profile/view suppress any fields with 'User and User Admin Only' visibility. (I believe you can use this property to determine whether the page is being rendered in the 'frontend': $config->userFrameworkFrontend

      2. If we can easily determine whether we have an authenticated joomla/mambo user (as opposed to anonymous browsing) - AND get their user ID from - then we should conditionally SHOW these private fields IF the logged in user is linked (uf_match) to the contact record being viewed (i.e. the user is looking at their own profile details). If this is not easy to do - we'll handle this in a future release once Joomla user-bots are implemented.

      these URLs - option=com_civicrm&task=civicrm/profile/view&reset=1&cid=90&gid=1 -

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: