feat: introduce act
Checklist
- [x] I have read the coding guide.
- [x] My change requires a documentation update, and I have done it.
- [x] I have added tests to cover my changes.
- [x] I have filled out the description and linked the related issues.
Description
Access control (ACT) implementation
The Access Control Trie (ACT) is a data structure that stores access control information for Swarm nodes. It is used to determine whether a node has permission to access a particular resource.
SWIP
See the ACT SWIP PR for more details.
See historical reviews and comments in the corresponding Solar Punk PR: https://github.com/Solar-Punk-Ltd/bee/pull/11
Open API Spec Version Changes (if applicable)
The version was not upgraded, but additions to the API spec can be review merged PR: https://github.com/Solar-Punk-Ltd/bee/pull/44
Motivation and Context (Optional)
See the ACT SWIP PR to understand the more motivation in more detail.
OpenAPI ci task failing on wrong credentials. Pls fix ASAP to make CICD green
Building some OpenAPI specs for you...
openapi/Swarm.yaml openapi/SwarmDebug.yaml
⚠️ This command is deprecated. Use "build" command instead.
Prerendering docs
🎉 bundled successfully in: /github/workspace/openapi/Swarm.yaml_fr0K4GtFkL2hD5nF33txjWz85u1HC6.html (1875 KiB) [⏱ 1.108s]
upload failed: openapi/Swarm.yaml_fr0K4GtFkL2hD5nF33txjWz85u1HC6.html to s3://swarm-openapi-specs/Swarm.yaml_fr0K4GtFkL2hD5nF33txjWz85u1HC6.html Unable to locate credentials
OpenAPI ci task failing on wrong credentials. Pls fix ASAP to make CICD green
Building some OpenAPI specs for you... openapi/Swarm.yaml openapi/SwarmDebug.yaml ⚠️ This command is deprecated. Use "build" command instead. Prerendering docs 🎉 bundled successfully in: /github/workspace/openapi/Swarm.yaml_fr0K4GtFkL2hD5nF33txjWz85u1HC6.html (1875 KiB) [⏱ 1.108s] upload failed: openapi/Swarm.yaml_fr0K4GtFkL2hD5nF33txjWz85u1HC6.html to s3://swarm-openapi-specs/Swarm.yaml_fr0K4GtFkL2hD5nF33txjWz85u1HC6.html Unable to locate credentials
@istae I believe this problem originates from the CI configuration. There are some other pull requests with OpenApi doc changes which failing with the same issue. Could you confirm this?
@aranyia you may ignore the openAPI failed check.
If you need to test your changes against some other (specific) beekeeper branch, you can do it by changing the beekeeper branch on this line https://github.com/Solar-Punk-Ltd/bee/blob/3a7f51e25391504654f3b54ec458a9499fe523f9/.github/workflows/beekeeper.yml#L17 (replace with BEEKEEPER_BRANCH: "feat/act") just make sure that you return it to "master" branch before the merge.
Also to use new "act" check defined in beekeeper in this PR https://github.com/ethersphere/beekeeper/pull/408, in the same beekeeper.yaml (bee repoistory), if new "act" check should be used, in Integration tests new step should be added(something like this):
- name: Test act
id: act
run: timeout ${TIMEOUT} beekeeper check --cluster-name local-dns --checks=ci-act