I was thinking about Alan's negative capabilities again yesterday as
discussed in the creeper thread,
and wanted to circle back to this in its own thread, and try to put my
finger on exactly why
I have some concern regarding negative capabilities...
On Sat, Jul 22, 2023 at 10:27 PM Alan Karp <
alan...@gmail.com> wrote:
>
> I was concerned that an admin might accidentally give a powerful capability to a guest, so I introduced negative capabilities.
> A negative capability for an object in your c-list would prevent you from invoking that object even if you had a capability
> to the object in your c-list. The nice part is that you can delegate without worrying if you might be violating some policy.
> You still need a way to express who gets which negative capabilities
My assumption here is that this restricts the ability to invoke a
capability but does not restrict the ability to grant a cap to someone
who lacks
a negative capability, thus a guest cannot invoke it, but may be able
to transfer it to someone who can invoke it.
overly dramatic situation: Bob is given a dance-card and a negative
launch-the-nukes capability. Somehow he obtains a launch-the-nukes
capability.
But cannot invoke it. He asks Carol (who has no negative cap) to
invoke his dance-card, and gives her his launch-the-nukes capability.
Carol's tacit assumption is that Bob is a guest who nobody would grant
such a dangerous capability to.
An obvious fix to this situation is to provide a filter on channels
similar to those mentioned in the star-property solution papers that
restrict which capabilities that Bob himself can transfer to those for
which he has no negative capability. Given the need for that it makes
more sense to me to cut out the invocation part, and instead use that
same mechanism to filter the channels through which Bob receives
capabilities. That is I kind of feel like even with negative
capabilities, there is still a need for filtering channels and with
filtering channels, you probably don't need negative capabilities and
no longer have situations similar to those described above. Then if
there is still a need for Bob to hold capabilities which require more
authority than he himself wields to be invoked -- such things require
some synergistic effect in coordination with capabilities Carol holds.
I don't recall voicing any tangible justification for my skepticism of
negative capabilities in the previous thread, this is all I really
have to say on the matter & hopefully rectifies that lack...