Skip to content

Show warning when extension install is disabled#17443

Open
Functionhx wants to merge 1 commit into
AUTOMATIC1111:masterfrom
Functionhx:feat/extension-install-warning
Open

Show warning when extension install is disabled#17443
Functionhx wants to merge 1 commit into
AUTOMATIC1111:masterfrom
Functionhx:feat/extension-install-warning

Conversation

@Functionhx

@Functionhx Functionhx commented Jul 9, 2026

Copy link
Copy Markdown

Description

Fixes #16871.

Added warning banner and disabled Install buttons in the Available extensions tab and Install from URL tab when --enable-insecure-extension-access is not set.

Screenshots/videos:

N/A — no visual changes

Checklist:

  • Tested locally

… is restricted

When the WebUI is non-local and --enable-insecure-extension-access is not
used, extension installation is disabled. Previously users would only see
an assertion error after clicking Install. Now:

- A warning banner is shown at the top of the Available tab listing
- The Install buttons are grayed out (disabled)
- The Install from URL tab also shows a warning and disables its button

The banner tells users to start the WebUI with
--enable-insecure-extension-access to enable extension installation.

Closes AUTOMATIC1111#16871

Test Plan:
- Launch with --listen and without --enable-insecure-extension-access:
  Verify warning banner appears on Available tab and Install buttons
  are disabled
- Launch with --enable-insecure-extension-access:
  Verify no warning appears and Install buttons work normally
- Launch locally without --listen:
  Verify no warning appears and Install buttons work normally

Signed-off-by: Yuchen Fan <functionhx@gmail.com>
@Functionhx Functionhx requested a review from AUTOMATIC1111 as a code owner July 9, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Add warning when extensions cannot be installed to Extensions > Available tab

1 participant