fastmail / Ix

automatic generation of JMAP-style APIs
GNU General Public License v2.0
10 stars 5 forks source link

Add $ctx->may_call #79

Closed wolfsage closed 7 years ago

wolfsage commented 7 years ago

This let's you, for example, apply permissions checks before a method is called, or examine/modify a methods arguments.

rjbs commented 7 years ago

I am 3% unsure about $arg going to may_call, but since I won't be relying on it just yet, okay. :-) We can keep it or remove it as the future calls for. +1