Skip to content

Rudimentary ACL System Procedure #123

@Latrasis

Description

@Latrasis

We need a rudimentary Access Control List as a System Procedure for establishing simple user groups. The interface must include:

  • #getAccountGroup(address _account): Get GroupId from Account Address
  • #setAccountGroup(address _account, uint8 _groupId): Set an Account to associate to a group
  • #setGroupProcedure(uint8 _groupId, bytes24 _procId, cap[] caplist): Create Group
  • #getGroupProcedure(uint8 _groupId): Get Group Procedure Id
  • #fallback: Which makes a call to the group procedure based on msg.sender's groupId.

On construction, should be an interface:

  • #init(admin_group _groupId, address _account): Set Admin Group Id and Initial Admin

Also to implement:

  • Proxy different accounts to their appropriate group procedures.
  • Separate the Entry Procedure from the ACL management.

Edit(Jake): Made some updates to the checklist here, rather than throughout the comments.

Metadata

Metadata

Labels

A-codeArea: CodeA-specArea: SpecificationT-ewasmTarget system: Ethereum Wasm

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions