[RPC][ShellCli] "Could not start flow as connection failed" error on starting flow via ShellCli if user is not authorized to use this flow

Description

Prerequisites:
Registered nodes PartyA, PartyB

PartyA's node.conf with security block

RPC user permissions in external database:

Steps to reproduce:
1) Start nodes
2) Connect to PartyA via ssh using credentials of user with testrole
3) Run the following commands and exit shell

4) Check output
5) Repeat step 3 via ShellCli
6) Check output

Expected result:
Outputs in steps 4 and 6 are the same. User is able to execute CashIssueFlow, but not authorized to execute vaultQuery and CashPaymentFlow

Actual result:
Via SSH

Via ShellCli

ShellCli raises "Could not start flow as connection failed" error on starting CashPaymentFlow

Assignee

Dmitry Toropov

Reporter

Dmitry Toropov

Labels

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

Ported to...

None

Story Points / Dev Days

None

Build cut

None

Feature Team

Kernel Group
Configure