Project: mesos
Issue MESOS-5335: Add authorization to GET /weights.
We already authorize which http users can update weights for particular roles, but even knowing of the existence of these roles (let alone their weights) may be sensitive information. We should add authz around GET operations on /weights. Easy option: GET_ENDPOINT_WITH_PATH /weights - Pro: No new verb - Con: All or nothing Complex option: GET_WEIGHTS_WITH_ROLE - Pro: Filters contents based on roles the user is authorized to see - Con: More authorize calls (one per role in each /weights request)
Story points: 3