You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/14 10:21:00 UTC

[jira] [Resolved] (CAMEL-25443) camel-jbang-plugin-tui - do not classify camel_eval_expression as read-only

     [ https://issues.apache.org/jira/browse/CAMEL-25443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-25443.
---------------------------------
    Resolution: Fixed

> camel-jbang-plugin-tui - do not classify camel_eval_expression as read-only
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-25443
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25443
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Andrea Cosentino
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> camel_eval_expression is currently in TuiToolRegistry.READ_ONLY_TOOLS (ToolDescriptor defaults readOnly=true and AuthoringTools does not override it), so the ACP permission handler auto-approves it without prompting. Because it evaluates expressions in any language and downloads the language's component on demand, it should not be treated as read-only / auto-approved. Mark it readOnly(false), or restrict silent handling to a set of non-scripting languages.
> Module: dsl/camel-jbang/camel-jbang-core (AuthoringTools), dsl/camel-jbang/camel-jbang-plugin-tui.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)