aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorEyeDeck <eyedeck@gmail.com>2022-09-11 20:00:42 +0000
committerEyeDeck <eyedeck@gmail.com>2022-09-11 20:00:42 +0000
commit29a2933e23e68900bbae741a98439d0c9d6f26f6 (patch)
treec3493d35f1ff517c7b8b7e8a4ccc87abc8894c7f /webui.py
parentcacd14bee89d1c1ff00fb11ebd2c68b407c90f1f (diff)
downloadstable-diffusion-webui-gfx803-29a2933e23e68900bbae741a98439d0c9d6f26f6.tar.gz
stable-diffusion-webui-gfx803-29a2933e23e68900bbae741a98439d0c9d6f26f6.tar.bz2
stable-diffusion-webui-gfx803-29a2933e23e68900bbae741a98439d0c9d6f26f6.zip
Add --hide-ui-dir-config command line flag
Adds `--hide-ui-dir-config` flag to disable editing directory configs from the web UI. This can be set to prevent users from setting the directory to somewhere they shouldn't, for public (or semi-public) interfaces. Directories are still read from config.json, so the server admin can still set them in the web UI and then relaunch with the hide flag, or edit the config manually. Also: - fix OptionInfo `component_args` keyword argument not being read if `component` isn't also set - ensure that hidden settings aren't still read from the web UI (otherwise they could still be changed by tampering with the interface)
Diffstat (limited to 'webui.py')
0 files changed, 0 insertions, 0 deletions