forked from TrueCloudLab/frostfs-node
[#239] morph/client: Add CalledByEntry into the "grouped" scope
Fixes #2230, fixes #2263. CustomGroups are nice while we're only calling NeoFS contracts, but it doesn't work at all for standard ones like GAS or Notary. Signed-off-by: Roman Khimov <roman@nspcc.ru> Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
2f1beddfd3
commit
96b38f7e86
2 changed files with 2 additions and 1 deletions
|
@ -208,7 +208,7 @@ func (c *Client) SetGroupSignerScope() error {
|
|||
return err
|
||||
}
|
||||
|
||||
c.signer.Scopes = transaction.CustomGroups
|
||||
c.signer.Scopes = transaction.CustomGroups | transaction.CalledByEntry
|
||||
c.signer.AllowedGroups = []*keys.PublicKey{pub}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue