[wp-trac] [WordPress Trac] #15467: Multisite with separate users table

WordPress Trac noreply at wordpress.org
Thu Mar 4 18:24:48 UTC 2021


#15467: Multisite with separate users table
---------------------------------------+------------------------
 Reporter:  fale                       |       Owner:  (none)
     Type:  feature request            |      Status:  reopened
 Priority:  normal                     |   Milestone:
Component:  Multisite                  |     Version:  3.0.1
 Severity:  normal                     |  Resolution:
 Keywords:  needs-codex needs-testing  |     Focuses:  multisite
---------------------------------------+------------------------
Changes (by joselawrence):

 * keywords:  close => needs-codex needs-testing
 * focuses:   => multisite


Comment:

 I believe that the idea of separate user and user_meta table is very
 possible and would take wordpress to a whole new level, most especially
 for those that want to build WAAS using wordpress multisite (like me), if
 only the code team can take a deep look into it.

 I tested the php scripts provided by @lightningspirit and they are
 amazing. A user who uses the same username and password on multiple site
 will be able to automatically switch between those sites just like the
 single user and user_meta tables which offcourse will make maintainance
 easy for superadmins once they are using the same user name and password
 on all sites.

 The idea is for the subsite be completely independent of eachother and for
 the subsite admins not to know, but superadmins can use the same
 authentication to make management of their network easy for them. Also if
 subsite users use the same username and password accross multiple sites
 they will also be authenticated automatically when switching sites, which
 is super cool, but most amazingly they can use different password if they
 want, which is the new feature that is being added and when switching to a
 site that they have not logged into or that session is expire, they can
 put the separate password and get logged into both sites with the same
 email and user name but different sites.

 The major problem I see with the code provided by @lightningspirit is that
 if you using it, only the main site you can create user account or users
 can register for from the frontend. but for the subsites, you have to do
 it from the database or phpmyadmin. What if those users could register
 from the frontend or account be created from the frontend and the data be
 saved into the subsite user and user_meta table, FRONTEND REGISTRATION
 PLUGINS DEVELOPERS or MEMBERSHIP PLUGINS DEVELOPERS will definitely begin
 to support this new feature.

 Again, if user account for subsites could be created from the frontend and
 registration for subsites be possible from the front end it will really be
 amazing.
 Super Administrations get their superadmin privileges accross all subsites
 once using the same username and password on all subsites, which can be
 done by replicating all superadmins to a newly created site.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/15467#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list