endo icon indicating copy to clipboard operation
endo copied to clipboard

compartment-mapper: add policy types

Open boneskull opened this issue 2 years ago • 1 comments

What is the Problem Being Solved?

Policies are essentially untyped (considered to be arbitrary objects). It would be helpful for consumers to have access to type information so that they do not construct invalid policies.

Description of the Design

A policy has a shape defined already; it's just a matter of formalizing that shape into types.

Security Considerations

none

Scaling Considerations

none

Test Plan

I'd probably want to add tsd tests for this; while it looks like tsd is used in other workspaces, I'll need to add the tsd package to compartment-mapper.

Upgrade Considerations

boneskull avatar Sep 18 '23 20:09 boneskull

See also:

  • https://github.com/Agoric/agoric-sdk/issues/6160

dckc avatar Jan 11 '24 23:01 dckc