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 Multi-Site functionality »
  • Multi-site functionality 3.1 Beta 4 - what I'm seeing
Pages: [1]

Author Topic: Multi-site functionality 3.1 Beta 4 - what I'm seeing  (Read 2317 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Multi-site functionality 3.1 Beta 4 - what I'm seeing
January 07, 2010, 01:12:10 am
On our multisite set up what I am seeing is:

My Administrator can log into the level 1 site and into all of the other sites and in every case sees all functionality & all contacts on all sites. ie. on the EU site they see all contacts from Belgium, France and Germany. When I log onto France I see all the contacts, groups, contributions etc from Belgium, France & Germany

My L2 site managers can log into all the different sites. Whichever site they log into they see the contacts for that site & all the civiCRM functions for that site. i.e. my Belgium administrator automatically has a log on on my France site. When they are logged onto France they see all the contacts in the groups (and all the various civicrm screens such as contact dashboard et associated with the France site. When they are logged onto the Belgium site they see all the contacts (and  contributions etc) associated with the Belgium site but none of the contacts associated with the France site.

I didn't start testing until I did the upgrade to 3.1Beta 4 today so I don't know how it did work before but my expectation was that the France administrator would not see Belgium contacts just by logging into the Belgium site but would in fact see (at most) the same contacts they saw in the France site.

I thought at first it was something I'd changed in playing around but I don't think so now. Here's the config:
civicrm_domainidname

1Europe
2Belgium
3France
civicrm_groupnameparentchild
2Europenull 3,4,5,6,7,8,9,10,14
3Belgium2 null
4France2 null

All of the L2 site managers have All civicrm permissions except for :

Manage Multi-site
Edit all contacts
View all contacts

My Belgium site manager currently only has group membership records (in civicrm_group_contact for the group 3)
h
NB
- the drupal Administrator (userID =1) is a member of group 2 (only).
- The Europe Org (contact_id=2) is a member of group 2 (only).
- The France Org (contact_id=3) is a member of group 2 (only)
- when logged in as administrator (with access multi-site permission) I see the 'associated multi-org group' on the groups tab of the France Org's contact record and this takes me to view group 4. 
« Last Edit: January 07, 2010, 01:31:20 am by Eileen »
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Re: Multi-site functionality 3.1 Beta 4 - what I'm seeing
January 07, 2010, 03:01:14 am
Quote from: Eileen on January 07, 2010, 01:12:10 am
My L2 site managers can log into all the different sites. Whichever site they log into they see the contacts for that site & all the civiCRM functions for that site. i.e. my Belgium administrator automatically has a log on on my France site.

So is the problem is that the L2 site managers have Drupal logins on all L2 sites when they should only have a login on their own L2 site? If so, isn't that down to your Drupal user settings? There's 1 Civi db and N Drupal dbs with N users tables.

Quote from: Eileen on January 07, 2010, 01:12:10 am
When they are logged onto France they see all the contacts in the groups (and all the various civicrm screens such as contact dashboard et associated with the France site. When they are logged onto the Belgium site they see all the contacts (and  contributions etc) associated with the Belgium site but none of the contacts associated with the France site.

That seems correct: if they don't  have view/edit all contacts, they'll just see the contacts belonging to the site's parent group.

Quote from: Eileen on January 07, 2010, 01:12:10 am
I didn't start testing until I did the upgrade to 3.1Beta 4 today so I don't know how it did work before but my expectation was that the France administrator would not see Belgium contacts just by logging into the Belgium site but would in fact see (at most) the same contacts they saw in the France site.

Seems to me the problem is that the France manager should not have a Drupal login for the Belgium site.

Quote from: Eileen on January 07, 2010, 01:12:10 am
- the drupal Administrator (userID =1) is a member of group 2 (only).
- The Europe Org (contact_id=2) is a member of group 2 (only).
- The France Org (contact_id=3) is a member of group 2 (only)

- The France Org is a member of group 2 (only) = Europe? Doesn't sound right.

If you create a contact in site X, the contact should automatically become a member of site X's parent group. However site parent groups are hidden from users who don't have view/edit all contacts (or administer multi org?) perm: see http://forum.civicrm.org/index.php/topic,9310.msg40190.html .

Dave

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multi-site functionality 3.1 Beta 4 - what I'm seeing
January 07, 2010, 12:09:49 pm
Thank you for your quick & helpful reply!

I had misunderstood the way it should work. On the install I am looking at there is only one Drupal database - not multiple as you suggest. I will check with Pete about this as I'm new to multi-site & he probably set it up that way on purpose - possibly just because it's a test.

I was thinking the single Drupal users table was a good thing and it could allow users to move seamlessly between sites - especially useful for a site hosting multiple charities where people could donate to one or more of them & receive consolidated reporting (e.g. for tax returns) but of course that is a more complex scenario.

Code: [Select]
The France Org is a member of group 2 (only) = Europe? Doesn't sound right.
No, you're right - it is as you say it should be. I was incorrect in my last post
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multi-site functionality 3.1 Beta 4 - what I'm seeing
January 07, 2010, 03:03:54 pm
Actually - just to clarify

Quote
If you create a contact in site X, the contact should automatically become a member of site X's parent group. However site parent groups are hidden from users who don't have view/edit all contacts (or administer multi org?) perm: see http://forum.civicrm.org/index.php/topic,9310.msg40190.html .

When we create contacts in an L2 site the user is automatically getting membership in the L2 site group and a record in civicrm_group_contact is created. There doesn't appear to be a record for their membership in the parent group but when you view the members of the parent group you see them
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • Multi-site functionality 3.1 Beta 4 - what I'm seeing

This forum was archived on 2017-11-26.