• Hello.

    I’m in the process of updating an ancient multisite installation to 3.9.1. Through a number of hacks to the core this installation has a two-tiered user system where there are global users (which work as per normal) and site-specific users (which are unique per site but not globally). This behavior is absolutely critical and must be preserved, although it is acceptable if the site-specific users have to be recreated.

    Of course the update completely breaks everything. The per-site user management works by duplicating half of the regular user management functions and hooking into various pluggable functions to decide at login time which functions to call. This is extremely brittle but at the time was seen as the only way to have both a centralized WordPress installation and per-site users.

    Now I’d like to know if there is a better way of obtaining all of the following in WordPress 3.9:
    – One single installation for all sites
    – The admin can manage all sites without having to log into them separately
    – Each site can have site-specific users that are unique within the site but not across sites

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Better than Multisite? Not really. I mean, that’s what it does.

    Through a number of hacks to the core this installation has a two-tiered user system where there are global users (which work as per normal) and site-specific users (which are unique per site but not globally).

    Multisite adds users to the network, which means they’re ‘subscribers’ of a sort to all sites, but only have writing access on sites where they’re specifically added to.

    Thread Starter j63

    (@j63)

    Unfortunately this makes the user namespace global. My question not about not being able to write, it’s about sharing usernames.

    The sites in this network are completely independent of each other and use the User Access Manager plugin to have pages accessible only to logged-in users. The site owners expect to be able to use arbitrary usernames for their users – if their blog’s user list has no user called “smith” they expect to be able to create one.

    With regular WordPress users they can only do so if no other blog has a user called “smith”. That is unacceptable; the blog owners expect to have no restrictions over what a single-site WordPress installation would give them.

    If there is no elegant way of doing this in Multisite I’ll just port the code over. It’s not pretty (especially in how it still litters the global user table with dummy entries) but at least it gets the job done…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Per-site users’ is closed to new replies.