-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
A-codeArea: CodeArea: CodeA-specArea: SpecificationArea: SpecificationT-ewasmTarget system: Ethereum WasmTarget system: Ethereum Wasm
Milestone
Description
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 onmsg.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
Assignees
Labels
A-codeArea: CodeArea: CodeA-specArea: SpecificationArea: SpecificationT-ewasmTarget system: Ethereum WasmTarget system: Ethereum Wasm