Skip to content

fix(cli): say in --help that read-only blocks every external plugin - #39

Merged
junior merged 2 commits into
p10node:mainfrom
junior:help-readonly-plugins
Nov 12, 2026
Merged

junior merged 2 commits into
p10node:mainfrom
junior:help-readonly-plugins

Conversation

@junior

@junior junior commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

From the review of #28: k10s --help said read-only mode blocks "dangerous plugins", but it blocks every external plugin (internal/ui/plugins.go), as docs/commands.md, docs/plugins.md and SECURITY.md say. The comment on Model.readOnly said the same. Both now say external plugins.

gofmt, vet and go test -short ./... pass on Go 1.26.11 and 1.27.4.

Read-only mode refuses every external plugin, whatever `dangerous` says
(internal/ui/plugins.go), as docs/commands.md, docs/plugins.md and
SECURITY.md say. The --help text and the comment on Model.readOnly still
said only dangerous plugins were blocked.

Signed-off-by: Adao Oliveira Jr <junior@users.noreply.github.com>
@junior
junior merged commit c400b46 into p10node:main Nov 12, 2026
3 checks passed
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.

2 participants