Skip to content

ACT redesign #720

@Cafe137

Description

@Cafe137

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions