[GH-ISSUE #1996] [Feature request] Allow users to manually change the security level in the FE or hide features that are not allowed in the current security level config. #835

Open
opened 2026-10-27 21:22:48 +00:00 by bsakaguchi · 9 comments
Owner

Originally created by @comfyui-wiki on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1996

Image

When users install custom nodes and choose the nightly version, they will install the custom nodes from GitHub. However, since the default security_level is set to normal, users may be confused as to why they can't install custom nodes.

Also, there is too little information in the prompt. Users who don't know how to change the security_level setting will only feel frustrated.

Here's my advice

1. Only show interface features allowed by the user's current security settings.

Such as hide the "nightly version" or don't use the "nightly" as default version (but seems lot of custom node only have nightly)

Image

Don't show the install PIP package and install via Git URL if their security_level isn't weak.

Image

Otherwise, when users try to use these features for the first time, they will be confused about why they can't install custom nodes.

2. Allow users change the security level in the FE

I think a lot of users still look up how to fix security level issues every day. Whatever the outcome, they always set the security to 'weak' once they figure out how.

So why not allow users to change security settings in the FE? But we should make sure users fully understand the consequences and risks. Add more details in the prompt, then let users decide whether to change the settings or not.

Especially for beginners, they may not know much about computers or ComfyUI. Sometimes they might not even know how to update the config.ini

3. Add more details in the prompt.

The current prompt lacks information. Should we add more details to tell users how they can change the security settings?

Such as "This action is not allowed with this security level configuration. If you need to, you can change the security level to weak in the ComfyUI/user/default/ComfyUI-Manager/config.ini. [Notice] Please make sure you know what it means, otherwise you shouldn't change this setting."

Originally created by @comfyui-wiki on GitHub (Jul 14, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1996 <img width="750" height="199" alt="Image" src="https://github.com/user-attachments/assets/05b7b67b-5f91-4aba-9ef9-ba8ae5440f1c" /> When users install custom nodes and choose the nightly version, they will install the custom nodes from GitHub. However, since the default `security_level` is set to `normal`, users may be confused as to why they can't install custom nodes. Also, there is too little information in the prompt. Users who don't know how to change the security_level setting will only feel frustrated. Here's my advice ## 1. Only show interface features allowed by the user's current security settings. Such as hide the "nightly version" or don't use the "nightly" as default version (but seems lot of custom node only have nightly) <img width="1425" height="818" alt="Image" src="https://github.com/user-attachments/assets/800c5838-dc31-4ee2-be5d-6ebddf0aa785" /> Don't show the `install PIP package` and `install via Git URL` if their `security_level` isn't weak. <img width="960" height="507" alt="Image" src="https://github.com/user-attachments/assets/37a5dfb1-dede-4c5b-ba1a-5ff04b72539d" /> Otherwise, when users try to use these features for the first time, they will be confused about why they can't install custom nodes. ## 2. Allow users change the `security level` in the FE I think a lot of users still look up how to fix security level issues every day. Whatever the outcome, they always set the security to 'weak' once they figure out how. So why not allow users to change security settings in the FE? But we should make sure users fully understand the consequences and risks. Add more details in the prompt, then let users decide whether to change the settings or not. Especially for beginners, they may not know much about computers or ComfyUI. Sometimes they might not even know how to update the config.ini ## 3. Add more details in the prompt. The current prompt lacks information. Should we add more details to tell users how they can change the security settings? Such as "This action is not allowed with this security level configuration. If you need to, you can change the `security level` to `weak` in the `ComfyUI/user/default/ComfyUI-Manager/config.ini`. [Notice] Please make sure you know what it means, otherwise you shouldn't change this setting."
Author
Owner

@christian-byrne commented on GitHub (Jul 14, 2025):

Option 2 and 3 seem good. Making security level configurable from the client has issues e.g. when a server is serving multiple clients.

<!-- gh-comment-id:3070907873 --> @christian-byrne commented on GitHub (Jul 14, 2025): Option 2 and 3 seem good. Making security level configurable from the client has issues e.g. when a server is serving multiple clients.
Author
Owner

@comfyui-wiki commented on GitHub (Jul 15, 2025):

In ComfyUI-Manager v3.33.4, when installing a custom node, the latest is now the default option. But the desktop is still using 3.30.4, which is why when I took the screenshot, nightly was still the default option.

Image
<!-- gh-comment-id:3072949382 --> @comfyui-wiki commented on GitHub (Jul 15, 2025): In ComfyUI-Manager v3.33.4, when installing a custom node, the `latest` is now the default option. But the desktop is still using `3.30.4`, which is why when I took the screenshot,` nightly` was still the default option. <img width="1728" height="1079" alt="Image" src="https://github.com/user-attachments/assets/b7585bf0-5545-41dd-9159-618e3275efa8" />
Author
Owner

@ltdrdata commented on GitHub (Jul 15, 2025):

This feature should be available only in the Desktop version. Security settings should not be editable remotely.

<!-- gh-comment-id:3072992308 --> @ltdrdata commented on GitHub (Jul 15, 2025): This feature should be available only in the Desktop version. Security settings should not be editable remotely.
Author
Owner

@christian-byrne commented on GitHub (Jul 16, 2025):

You could keep the issue open for the UI adjustments. It makes sense to hide things that are disabled by security level, maybe.

<!-- gh-comment-id:3079149277 --> @christian-byrne commented on GitHub (Jul 16, 2025): You could keep the issue open for the UI adjustments. It makes sense to hide things that are disabled by security level, maybe.
Author
Owner

@comfyui-wiki commented on GitHub (Jul 16, 2025):

Ok, just reopened it. XD

<!-- gh-comment-id:3079528508 --> @comfyui-wiki commented on GitHub (Jul 16, 2025): Ok, just reopened it. XD
Author
Owner

@melMass commented on GitHub (Aug 20, 2025):

Can someone clarify what does latest protect against vs nightly ?

<!-- gh-comment-id:3205485037 --> @melMass commented on GitHub (Aug 20, 2025): Can someone clarify what does latest protect against vs `nightly` ?
Author
Owner

@comfyui-wiki commented on GitHub (Aug 20, 2025):

Can someone clarify what does latest protect against vs nightly ?

Latest means the latest stable version, and the custom node will be downloaded from the ComfyUI registry server (The custom node has undergone some security scans). For the nightly version, it will be downloaded from Github, which may contain malicious code.

<!-- gh-comment-id:3206151914 --> @comfyui-wiki commented on GitHub (Aug 20, 2025): > Can someone clarify what does latest protect against vs nightly ? Latest means the latest stable version, and the custom node will be downloaded from the ComfyUI registry server (The custom node has undergone some security scans). For the nightly version, it will be downloaded from Github, which may contain malicious code.
Author
Owner

@melMass commented on GitHub (Aug 20, 2025):

The custom node has undergone some security scans

Nice thanks, I did not know that subtlety. It does make sense then

<!-- gh-comment-id:3206399840 --> @melMass commented on GitHub (Aug 20, 2025): > The custom node has undergone some security scans Nice thanks, I did not know that subtlety. It does make sense then
Author
Owner

@LingYingNX commented on GitHub (Dec 8, 2025):

I watched it repeatedly and didn't know if this was the answer, but I couldn't update the plugin, and I set all security to the minimum before I saw this post
Image

<!-- gh-comment-id:3627070120 --> @LingYingNX commented on GitHub (Dec 8, 2025): I watched it repeatedly and didn't know if this was the answer, but I couldn't update the plugin, and I set all security to the minimum before I saw this post <img width="1038" height="216" alt="Image" src="https://github.com/user-attachments/assets/6c894652-974d-44b1-8f45-e69aa2bd0a9e" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#835
No description provided.