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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Multisite - admin permissions
Pages: [1]

Author Topic: Multisite - admin permissions  (Read 1272 times)

mcaden

  • Guest
Multisite - admin permissions
May 17, 2010, 10:19:45 pm
I have a multisite set up and it seems contacts only assigned to the L2 site's groups are viewable which is right.  However, the individuals created from the L2 site aren't a part of any group unless specifically set which isn't right.

Additionally, mailings can be sent, but without "administer CiviCRM" permissions they don't have a lot of the things like mailing templates and "From Addresses".

So:
A) Will giving admin permissions cause anything set from the L2 site to affect the L1 site or any other L2 site?  Or will it completely be limited to the L2 site? 
B) How can we set it such that users from a L2 site are by default added to the L2 site's group, and can't be removed from the group except by a superadmin or deletion?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multisite - admin permissions
May 17, 2010, 10:30:29 pm
So in the context of multisite there are 3 drupal permissions that transcend site:

'administer multi-site;
'view all contacts'
'edit all contacts'

If people have these permissions they will be able to view/edit contacts across the sites & administer multi-site gives a few odds & sods.

'Administer CiviCRM' is administer settings within a site

Before you conclude that someone hasn't been assigned to an L2 group make sure you look at them under a user with 'administer multisite' - If you still don't see the group then check that the group has been correctly configured in that site's settings.php
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

mcaden

  • Guest
Re: Multisite - admin permissions
May 18, 2010, 12:29:57 am
So I can give a L2 site user admin and be pretty sure they aren't going to screw things up for others as long as they don't have the multi-site admin and the "____ all _____" permissions?  Great.

As for the not being assigned to group it's that if I'm on a L2 site and I add a contact, but don't specify the group - they "disappear" in regards to that L2 site since they aren't added to that L2 site's group.  If I log in as superadmin and change that contact to L2's group, they appear.  Additionally, the L2 group doesn't appear when creating contacts.  A new group has to be created with the L2 group being set as the parent - THEN contacts can be added to L2's SUB-group.  So the group structure seems to be required to be something like:


Main Group
|___L2 Group
|___L2 Group - Contacts
L2 Group
|___L2 Group - Contacts
L2 Group
|___L2 Group - Contacts

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multisite - admin permissions
May 18, 2010, 12:39:23 am
 Contacts created in the L2 domain should be added to the L2 sub-group automatically (although the group itself won't be visible to all contacts). If this isn't happening there is something wrong in your config


Your level 2 group should be a sub-group of the level 1 group and it should be identified in your settings.php.
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

mcaden

  • Guest
Re: Multisite - admin permissions
May 18, 2010, 07:15:09 pm
I found that somehow my L2 civicrm.settings.php had:

//define( 'CIVICRM_MULTISITE' , null );

even though I could've sworn it was set like it ought to be to

define( 'CIVICRM_MULTISITE' , 1 );

It was set correctly in my L1 site and all other settings were correct.  That part seems to be working.

However, Mailings still only show the L2 Group - Contacts group and it doesn't see the L2 group itself so I can't send a mail to all.  I imagine this is by design.  So as long as the original question of this group not affecting the L1 group or other sub-groups is correct then everything should be good for me. 

Thanks so much for the help ,Eileen.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multisite - admin permissions
May 18, 2010, 07:19:32 pm
Actually there is probably still some patching to be done on the civi-mail side. There's one complete patch that is about to come out in 3.1.5 but there is also another one that still needs testing - I;m not 100% up-to-date on it but there is another board on multi-site installs & it's one of the most recent threads there.
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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Multisite - admin permissions

This forum was archived on 2017-11-26.