We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need a rudimentary Access Control List as a System Procedure for establishing simple user groups. The interface must include:
#getAccountGroup(address _account)
#setAccountGroup(address _account, uint8 _groupId)
#setGroupProcedure(uint8 _groupId, bytes24 _procId, cap[] caplist)
#getGroupProcedure(uint8 _groupId)
#fallback
msg.sender
On construction, should be an interface:
#init(admin_group _groupId, address _account)
Also to implement:
Edit(Jake): Made some updates to the checklist here, rather than throughout the comments.
The text was updated successfully, but these errors were encountered:
Looks like further modifications will have to be made to pwasm-abi-derive as it does not support fallback functions.
pwasm-abi-derive
Sorry, something went wrong.
I implemented a proxy(payload) function instead. Using fallback is ergonomically nice, but not critical may not even be the system people want to use.
proxy(payload)
Entry is now separated, so only one group has access to the ACL management API.
from
The ACL was implemented in #185.
JakeOShannessy
Latrasis
No branches or pull requests
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 AdminAlso to implement:
Edit(Jake): Made some updates to the checklist here, rather than throughout the comments.
The text was updated successfully, but these errors were encountered: