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 »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • 3 organisations and sharing of users
Pages: [1]

Author Topic: 3 organisations and sharing of users  (Read 2486 times)

arlind

  • Guest
3 organisations and sharing of users
March 31, 2008, 06:58:24 am

Hi,

Can I have 3 organizations sharing a common user-database, where the users must allow each organization to see/access and contact them.

Options:
- no organization can access my data
- only one organization of my choice can access my data
- one or more organizations of my choice can access my data

I'm using Drupal - and was wondering whether Organic Groups was the answer?

Thanks
Bo

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: 3 organisations and sharing of users
March 31, 2008, 11:20:30 am

You could potentially do this using some custom code and ACL's

Create three groups, one for each organization. When the user decides to share the information with zero or more of the organizations, add that user to zero or more of the groups. This is the custom code u'll need to add

For each organization create an ACL for the organization and give the organization view/edit rights only to their group above. This ensure that they will only see the contacts that they have been permissioned on

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

arlind

  • Guest
Re: 3 organisations and sharing of users
April 01, 2008, 04:07:39 am

Thanks :-)

One more question:

If a user signs up for two or more organizations - can the organizations view the users activity with the other organizations ex. donations and other interaction?

If true, is it better to create 3 separate databases and synchronize the users contact information, groups and tags across databases when they sign up for an organization? Perhaps I should create a source-database, that copies and updates data to the relevant organizations databases?

Thanks
Bo

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: 3 organisations and sharing of users
April 01, 2008, 10:27:01 am

Yes. Seems like you want 3 distinct databases that just share name and address

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 »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • 3 organisations and sharing of users

This forum was archived on 2017-11-26.