From 70ae2c94e1d2bea81a3abb299e4056c41c1c91b2 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Tue, 6 Sep 2022 11:46:26 +0300 Subject: [PATCH] [#265] container: Adjust container-contract permissions Remove "addRoot" method from the list of allowed methods, because NNS doesn't have it since https://github.com/nspcc-dev/neofs-contract/pull/139/commits/4b86891d57ef12c3f37a9ef27902c73d96812934. --- container/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/config.yml b/container/config.yml index c75978e..71f47f5 100644 --- a/container/config.yml +++ b/container/config.yml @@ -2,7 +2,7 @@ name: "NeoFS Container" safemethods: ["count", "get", "owner", "list", "eACL", "getContainerSize", "listContainerSizes", "version"] permissions: - methods: ["update", "addKey", "transferX", - "addRoot", "register", "addRecord", "deleteRecords"] + "register", "addRecord", "deleteRecords"] events: - name: containerPut parameters: