Desired outcome
The ACT (access control trie) related commands (grantee group) are currently hard to use:
- Rather than having a CRUD command-set for manipulating grantee lists, the existing commands expect a path to a JSON file with a specific structure.
- The grantee lists should be abstracted away, so that I can name and manage them easily, similarly to the
identity commands where my settings are saved to the disk and I can rename/edit them freely.
- The dependents (e.g.
upload command) should not take both --act and --act-history-address flags; there should be only one flag, with an intuitive name, that takes a named grantee list and automatically gives permission to the grantees there.
Documentation
Prerequisites
- Do a feasibility check whether the current interface and functions provided by bee-js are good enough to work with, or if ACT should be abstracted to a higher level
AccessControl or similar class there first.
Rollout strategy
- Rather than removing / reworking the current
grantee commands, deprecate them. Running them should print a warning message that the commands will be removed by $date, and the new ??? commands should be used instead.
Desired outcome
The ACT (access control trie) related commands (
granteegroup) are currently hard to use:identitycommands where my settings are saved to the disk and I can rename/edit them freely.uploadcommand) should not take both--actand--act-history-addressflags; there should be only one flag, with an intuitive name, that takes a named grantee list and automatically gives permission to the grantees there.Documentation
grantee.spec.tsfor current usagePrerequisites
AccessControlor similar class there first.Rollout strategy
granteecommands, deprecate them. Running them should print a warning message that the commands will be removed by $date, and the new???commands should be used instead.