0.1.0

First release. Parc models a PARC (Principal, Action, Resource, Context) authorization request and the decision over it, independent of any policy framework.

  • Parc.Request, the Principal/Action/Resource/Context request a decision is made on.
  • Parc.RequestPreparer, the behaviour for a step that enriches the request or aborts with an error, and cannot decide a verdict.
  • Parc.PolicyDecider, the behaviour for the single decision point, returning an allow, deny, challenge, or error verdict.
  • Parc.Pipeline, which runs the declared preparers and then the decider, and the use Parc.Pipeline builder whose prepare and decide macros enforce exactly one decider at compile time.