meeting-room-booking-system / mrbs-code

MRBS application code
Other
124 stars 61 forks source link

Authentication with wordpress with Multisite enabled #2707

Open jberanek opened 4 years ago

jberanek commented 4 years ago

I have a multisite wordpress supporting about 50 "child" sites. I installed MRBS with the wordpress authn and the single sign on worked as descdribed. The problem is that while it logs me in it does not know anything about child sites - this is based on the fact that there seems to be no way to configure it. Also the code to go into wp-config.inc requires one domain - whereas different child sites are on different domains. Eventually some of these child sites will want an MBRS. This will also mean ideally that each MBRS will have its own database but share code. Is any of this possible?

Reported by: *anonymous

Original Ticket: mrbs/support-requests/2012

jberanek commented 4 years ago

I suspect it's not possible without some changes to MRBS, but I'll take a quick look over the next couple of days or so to get an idea of just how much would be involved.

Original comment by: campbell-m

jberanek commented 4 years ago

Thanks - striclty speaking the authentication is fine but not the authorization.

Original comment by: *anonymous

jberanek commented 4 years ago

Mmmm - I think there would be quite a lot of work to have a multisite MRBS. I can see two possible ways of doing this.

The first would be to have a generic multisite MRBS which would work with any authentication scheme. This could then integrate with Wordpress in much the same way that MRBS currently does.

The second would be to have a multisite plugin version of MRBS. This would obviously be WordPress specific.

Either way there would be significant changes to MRBS.

Original comment by: campbell-m