apiserver/...: fix several auth issues #7607

Merged
merged 1 commit into from Jul 10, 2017

Conversation

Projects
None yet
3 participants
Member

axw commented Jul 10, 2017

Description of change

Backport of auth issues found/fixed in
#7606.

  • logfwd was using AuthMachineAgent, and should
    have used AuthController. It has been updated
    to use the latter.
  • payloads had no auth at all; it has been updated
    to use AuthClient.
  • metricsmanager and undertaker: redundant calls
    to AuthMachineAgent, when AuthController would
    do. Simplified.
  • charmrevisionupdater: was allowing non-controller
    agents, now does not.
  • keymanager and highavailability: both were allowing
    controller unnecessarily; dropped.

QA steps

Run tests. Bootstrap.

Documentation changes

None.

Bug reference

None.

apiserver/...: fix several auth issues
Backport of auth issues found/fixed in
#7606.

- logfwd was using AuthMachineAgent, and should
  have used AuthController. It has been updated
  to use the latter.
- payloads had no auth at all; it has been updated
  to use AuthClient.
- metricsmanager and undertaker: redundant calls
  to AuthMachineAgent, when AuthController would
  do. Simplified.
- charmrevisionupdater: was allowing non-controller
  agents, now does not.
- keymanager and highavailability: both were allowing
  controller unnecessarily; dropped.
Member

axw commented Jul 10, 2017

$$merge$$

Contributor

jujubot commented Jul 10, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 269266b into juju:2.2 Jul 10, 2017

1 check passed

github-check-merge-juju Ran tests against PR. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment