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

Custom search views always expose information publicly

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.13, 4.7.2
    • Fix Version/s: Unscheduled
    • Component/s: CiviCRM Profile
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Needs Funding

      Description

      As documented here:
      http://gitbook.civicrm.org/organising-your-data/profiles.html

      'To use fields for Search Views, you must set Visibility to Public Pages or Public Pages and Listings.'

      This means it is impossible to create a new 'internal' search screen with custom fields. Whenever you create a new 'search view' it exposes information publicly.

      This isn't a security issue in itself, but can easily lead to one - where a 'bad' profile configuration can display your contact information publicly, or make it searchable, via URLs like:
      civicrm/profile/view?gid=753&reset=1&id=1

      Improvements in this area should/could include:

      • Ensure flexible access controls are applied (via ACLs?) so that users can only view contacts they are allowed to see
      • Really clear documentation / in-page help that the 'Public pages' and 'Listings' settings do override any other permissions in the system, and display your contact data publicly.
      • Allow search views to use the 'user or user admin' view setting, so that 'internal' search pages can be created without exposing all the data publicly.

        Attachments

        1. Selection_434.png
          69 kB
          Jon K Goldberg
        2. Selection_435.png
          70 kB
          Jon K Goldberg
        3. Selection_436.png
          53 kB
          Jon K Goldberg
        4. Selection_437.png
          59 kB
          Jon K Goldberg

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                john John K.
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: