Skip to content

Commit

Permalink
[nspcc-dev#265] container: Adjust container-contract permissions
Browse files Browse the repository at this point in the history
Remove "addRoot" method from the list of allowed methods, because
NNS doesn't have it since
nspcc-dev@4b86891.
  • Loading branch information
AnnaShaleva authored and fyrchik committed Sep 7, 2022
1 parent 86157d8 commit 70ae2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 70ae2c9

Please sign in to comment.