ockam icon indicating copy to clipboard operation
ockam copied to clipboard

feat(rust): support global policies

Open adrianbenavides opened this issue 1 year ago • 0 comments

  • Add support for global policies in the policy create command. The information about whether the resource is global is derived from the resource name to guarantee backward compatibility. The global policy is used within a given node across resources of the same type (i.e. each node has its global policies).
  • Change --expression argument on tcp-inlet|outlet create to --allow.
  • The --from argument of tcp-outlet create has been removed and its value it's not derived from the alias. The first outlet to be created will always use the outlet worker address, to ensure backwards compatibility.
  • Refactor internals of policy commands to have the same structure and produce the same output as other commands
  • Refactor struct returned by policy API endpoints.

adrianbenavides avatar Feb 12 '24 09:02 adrianbenavides