KIP-0027: Make User Guards SysOnly to ReadOnly#56
Conversation
|
So in looking @ this KIP, the only thing I wonder about is: Aren't all of these cases doable via a capability guard that enforces these invariants? That is, take this example: |
@jmcardon Your example doesn't work. Or at least is incomplete ... Where do you acquire the cap ? to unlock the guard. 😉 More generally, using a cap guard, you always REQUIRE to have a caller module to acquire the cap... Sometimes, it's not very convenient: eg: Alice want's to access her funds by doing a simple But often having a caller module is not possible: eg
The firsts two are necessary to implement namespaces / modules managed by DAO or stuffs like evolved mutli-sigs. |
|
This was implemented and merged already |
Following my discussion with @jmcardon,
The proposal is to change the execution environment of User guards from
SysOnlytoReadOnly.This would be an amazing feature, that would definitively "unleash the power of Kadena"
Would like to have the feeling of the team about this. Maybe there are some pitfalls I didn't catch ?
https://github.com/kadena-io/KIPs/blob/06223ea13461aac38702abeefb1e872b2be9cc68/kip-0027.md