lvh / icecap

URL-based object capability system.
Eclipse Public License 1.0
5 stars 2 forks source link

Inject handlers #23

Open lvh opened 10 years ago

lvh commented 10 years ago

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.

lvh commented 10 years ago

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.