CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • public and private fields contact based
Pages: [1]

Author Topic: public and private fields contact based  (Read 689 times)

stijnbe

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
public and private fields contact based
May 26, 2010, 01:44:04 am
Is it possible to define if for example the address of a certain contact is public or private in the anonymous search? Right now I created 3 custom fields:
public_email (yes or no)
public_phone (yes or no)
public_address (yes or no)

I then use these fields when I sync contacts to nodes in drupal to define what's public or not.

This works fine but when there is a public and a private address i run into trouble.

Any advice? Or would It be a nice new feature to add in civicrm, I could help developing this feature ?

thx

Stijnbe

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: public and private fields contact based
May 26, 2010, 06:57:07 am

basically we should consider permissioning email/phone/address (and maybe other fields also) with a lot more granularity.

public and private are pretty high level, so i'd probably increase the granularity and make it role based :)

in the long run, i think keeping this functionality as a separate module but allowing the hooks to influence what fields are shown is the way to go. You might want to consider this approach

if you can work on it, that would be awesome. ping us on IRC and we can discuss a strategy

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • public and private fields contact based

This forum was archived on 2017-11-26.