Skip to content

Commit

Permalink
security policy is modified
Browse files Browse the repository at this point in the history
MODIFIED: Fix custom nodes feature belongs to `high` level risky features
  • Loading branch information
ltdrdata committed Oct 6, 2024
1 parent d289dd5 commit 0469cad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,10 @@ When you run the `scan.sh` script:
* `Install via git url`, `pip install`
* Installation of custom nodes registered not in the `default channel`.
* Display terminal log
* Fix custom nodes
* `middle` level risky features
* Uninstall/Update/Fix custom nodes
* Uninstall/Update
* Installation of custom nodes registered in the `default channel`.
* Restore/Remove Snapshot
* Restart
Expand Down
2 changes: 1 addition & 1 deletion glob/manager_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import cm_global
from manager_util import *

version = [2, 51, 3]
version = [2, 51, 4]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')


Expand Down
2 changes: 1 addition & 1 deletion glob/manager_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ async def install_custom_node(request):

@PromptServer.instance.routes.post("/customnode/fix")
async def fix_custom_node(request):
if not is_allowed_security_level('middle'):
if not is_allowed_security_level('high'):
print(SECURITY_MESSAGE_MIDDLE_OR_BELOW)
return web.Response(status=403)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "2.51.3"
version = "2.51.4"
license = { file = "LICENSE.txt" }
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]

Expand Down

0 comments on commit 0469cad

Please sign in to comment.