Skip to content

Create user if does not exist option - add existing user to site within multi-site #646

@billbellon

Description

@billbellon

Problem:

The

Create user if does not exist

option is enabled.

A user logs in to a site within a WordPress Multi-site where they don't have an account on that site, but they do within the Multi-site itself - i.e., their account hasn't been added to that particular site.

The user is able to login, but their account is not added to the site they are logging in to, and they are presented with an error page stating:

You attempted to access the "WORDPRESS MULTISITE NAME" dashboard, but you do not currently have privileges > on this site.

Proposed Solution:

If the

Create user if does not exist

option is enabled, then in the above situation, automatically add the user logging in (assuming they successfully log in), to the site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIssues & PRs related to new features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions