Near-One / near-plugins

Implementation of common patterns used for NEAR smart contracts.
Creative Commons Zero v1.0 Universal
27 stars 12 forks source link

Add functions to manage Acl roles #9

Closed mooori closed 1 year ago

mooori commented 1 year ago

Note: To be merged after #8. Once #8 is merged I'll rebase this PR, until then the diff here on github is messy: Only the two most recent commits will remain in this PR, previous commits belong to #8.

Overview

# Command to execute the tests:
cargo test --test access_controllable

# This makes `workspaces` write more than 1G to /tmp (on my machine).
# Depending on the size of your /tmp, a cleanup might be required afterwards.
du --summarize --total --human-readable /tmp/sandbox-*
rm -r /tmp/sandbox-*
mooori commented 1 year ago

Converting to draft since it'll need to be updated after deciding how to handle *_unchecked methods in #8.