Skip to content

CLI tools extending BaseRunAsSuperuserCommand should only connect to the local node #80481

Closed
@jkakavas

Description

@jkakavas

BaseRunAsSuperuserCommand uses a temporary file realm superuser to execute commands as. Since file realms are node specific, all requests should be executed against the local node from where the CLI runs.

We should not use CommandLineHttpClient#getDefaultURL or adjust it to prefer the local node if/when possible. At a minimum all tools that extend BaseRunAsSuperuserCommand should support a --url parameter that allows the user to override and point to the local node

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions