juju/charmstore — pull request #265 by rogpeppe (2014-12-17 18:10:26+00:00)
Title: internal/v4: macaroon-based authorization

We configure a known third party discharge service
and issue macaroons requiring that the user be
authenticated before an access request is granted.

In this PR we use this authorisation only for the existing
authorized endpoints, and do not try to be sophisticated
in what caveats we add.