Manage MSM users on different sites

I have a larger site broken down into subdomains using MSM. Each of these sites has its own group of employees who manage this section. My thoughts were to create member groups to reflect these employee groups and assign them the appropriate access rights for each subdomain. Each subdomain has its own administrative access point to the CP, so that it is easy for them.

So: blog.domain.com will have the Bloggers group in the member group, and they will be logged in to blogadmin.domain.com

Administrator accounts can switch between sites in the CP located on admin.domain.com in the MSM drop-down list. They have all the access they need for each site assigned. Bloggers may try to log in to admin.domain.com, but they decline and say that they do not have permissions. They can only log on to blogadmin.alamode.com, which has a CP, only show them the blog.domain.com site functions assigned to them, and no other sites appear in the MSM drop-down list.

When I did this, I created a user who did NOT have access on the main site, but only in the subregion that I needed. The problem arose when I went to any site and tried to list the participants. I got an error stating that I was missing an identifier.

Looking through the EE DB, I see that member groups have a DB field for 'group_id' and 'site_id', but in the Members table there is only 'member_id' and 'group_id'.

How to create elements without errors? It makes me feel like a complete newbie.

I installed the latest version of both EE and MSM.

+4
source share
1 answer

If you are using version 2.5.3, you can click this open error in which user groups will not be added to all sites in the MSM installation . There you can download the patch.

+2
source

Source: https://habr.com/ru/post/1443704/


All Articles