lvh / icecap

URL-based object capability system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inject handlers

lvh opened this issue · comments

commented

Right now, icecap assumes all handlers will be available. It'd be cool if we could configure only some subset of them to be supported. This also opens the door for customized handlers.

An unanswered question is whether we only want to do this at a schema validation level when creating new capabilities, or also when executing them. I.e. what do you do when an existing cap uses a handler that you're then disallowing?

This depends on #22.

commented

This has the convenient side effect that we will no longer have to import various handlers in icecap.schema just for the side effects (har har) of having the multimethod implementation show up.