[#265] container: Adjust container-contract permissions

Remove "addRoot" method from the list of allowed methods, because
NNS doesn't have it since
4b86891d57.
This commit is contained in:
Anna Shaleva 2022-09-06 11:46:26 +03:00 committed by fyrchik
parent 86157d801b
commit 70ae2c94e1

View file

@ -2,7 +2,7 @@ name: "NeoFS Container"
safemethods: ["count", "get", "owner", "list", "eACL", "getContainerSize", "listContainerSizes", "version"] safemethods: ["count", "get", "owner", "list", "eACL", "getContainerSize", "listContainerSizes", "version"]
permissions: permissions:
- methods: ["update", "addKey", "transferX", - methods: ["update", "addKey", "transferX",
"addRoot", "register", "addRecord", "deleteRecords"] "register", "addRecord", "deleteRecords"]
events: events:
- name: containerPut - name: containerPut
parameters: parameters: