Skip to content

“Add Site” breaks for Team Control roles that lack Manage Clients (and/or Bulk Install & Activate Extensions) #799

@bkatusic

Description

@bkatusic

Description of Issue:

If a user with a custom Team Control role tries to add a site without the “Manage Clients” permission (and usually also without “Bulk Install and Activate Extensions”), the Add-Site wizard stalls on “Adding the site to your MainWP Dashboard. Please wait…”. The browser console logs a fatal error from load-scripts.php, and the site is never added.

Steps to Reproduce:

Create a Team Control role with Add Site permission but NOT “Manage Clients” and “Bulk Install and Activate Extensions”.

Log in as a user with that role and open Sites → Add New.

Enter valid site credentials and click Add Site.

Observe the process hangs on the “Please wait…” spinner and a console error appears; the site is not added.

Note

If you have a similar issue but the steps to reproduce are different, please open a help ticket for us to review and verify if it's a new issue or part of this one. Thanks!

Reported on: 2025-06-11
Issue confirmed with dev team: 2025-06-11
Resolved: Pending

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions